Commit ab5f94da authored by 汪洋's avatar 汪洋

demo 代码

parent bfe09923
......@@ -24,9 +24,9 @@
service.apiHost = @"http://backend.gengmei.cc";
// 我的需求就是能快速获取几种情况
[[GMNetService sharedInstance] sendRequestWithUrl:@"/api/index/v3?version=5.9.5" parameters:nil method:HttpMethodGet success:^(JSONType *data, NSString *message) {
[[GMNetService sharedInstance] sendRequestWithUrl:@"/api/index/v3?version=5.9.5" parameters:nil method:HttpMethodGet success:^(NSArray *data, NSString *message) {
NSLog(@"message");
} failed:^(NSString *message) {
} failed:^(NSString *message, APIStatusCode code) {
NSLog(@"message");
}];
......
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