Explorar o código

1.修改iOS RAImage登陆连接。

Pen Li %!s(int64=7) %!d(string=hai) anos
pai
achega
ab3d97867d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      RA Image/RA Image/RANetwork.m

+ 1 - 1
RA Image/RA Image/RANetwork.m

@@ -119,7 +119,7 @@
                                     }.mutableCopy;
     AppDelegate *appDelegate = (AppDelegate *)[UIApplication sharedApplication].delegate;
     
-    NSData *data = [self get_json:@"http://192.168.0.130:8080/MyWeb/Test" parameters:params file:nil];
+    NSData *data = [self get_json:appDelegate.address parameters:params file:nil];
     NSDictionary *resultDic = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableLeaves error:nil];
     return resultDic;
 }