Commit 71753ad4 authored by 汪洋's avatar 汪洋

saveDemo

parent ab5f94da
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7706" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="whP-gf-Uak">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="whP-gf-Uak">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="wQg-tq-qST">
<objects>
<viewController id="whP-gf-Uak" customClass="GMViewController" sceneMemberID="viewController">
<viewController id="whP-gf-Uak" customClass="ViewController" customModule="GMNetService_Example" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="uEw-UM-LJ8"/>
<viewControllerLayoutGuide type="bottom" id="Mvr-aV-6Um"/>
......
......@@ -15,11 +15,15 @@ class ViewController: UIViewController {
super.viewDidLoad()
GMNetService .sharedInstance().sendRequestWithUrl("aa", parameters: nil, method: .Get, success: { (data, msg) in
}) { (msg) in
GMNetService.sharedInstance().apiHost = "http://backend.gengmei.cc";
GMNetService.sharedInstance().sendRequestWithUrl("/api/index/v3?version=5.9.5", parameters: nil, method: .Get, success: { (data, msg) in
print("aaaa")
// print(data["hottags"])
}) { (msg, code) in
print(msg)
}
}
override func didReceiveMemoryWarning() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment