Selaa lähdekoodia

1.替换域名相关优化

huangxiaodong 1 vuosi sitten
vanhempi
commit
897234d426

+ 10 - 5
创维盒子/双子星云手机/AppDelegate/PrefixHeader.pch

@@ -104,8 +104,8 @@ isBangsScreen; \
 //#define CloudService           @"http://14.18.190.141:11180"
 //#define CloudService           @"http://14.18.190.141:1280"
 //创维盒子 测试地址 弃用
-//#define CloudService   @"http://14.18.190.141:1801"
-//#define shareService   @"http://testprivacy.phone.armclouding.com:1801/h5/#/pages/fileSharing/index?productType=Private-X&token="
+//弃用 #define CloudService   @"http://14.18.190.141:1801"
+//弃用 #define shareService   @"http://testprivacy.phone.armclouding.com:1801/h5/#/pages/fileSharing/index?productType=Private-X&token="
 
 //创维盒子 测试地址 正在使用
 #define CloudService   @"http://testprivacy.phone.androidscloud.com:1801"
@@ -115,9 +115,14 @@ isBangsScreen; \
 //#define CloudService   @"http://testprivacy.phone.androidscloud.com:10900"
 //#define shareService   @"http://testprivacy.phone.androidscloud.com:10900/h5/#/pages/fileSharing/index?productType=Private-X&token="
 
-//生产环境
-//#define CloudService   @"http://hiboxde.armclouding.com:7780"
-//#define shareService   @"http://hiboxde.armclouding.com:7780/h5/#/pages/fileSharing/index?productType=Private-X&token="
+//生产环境 弃用
+//弃用 #define CloudService   @"http://hiboxde.armclouding.com:7780"
+//弃用 #define shareService   @"http://hiboxde.armclouding.com:7780/h5/#/pages/fileSharing/index?productType=Private-X&token="
+
+//生产环境 1.4.3 开始使用
+//#define CloudService   @"http://hiboxde.androidscloud.com:7780"
+//#define shareService   @"http://hiboxde.androidscloud.com:7780/h5/#/pages/fileSharing/index?productType=Private-X&token="
+
 
 #define AESCODEKEEYY @"fvO8gAfNSr1tbdQe"
 

+ 1 - 5
创维盒子/双子星云手机/NAS/NASViewController.m

@@ -1093,11 +1093,7 @@
     else if(tag ==2 || tag == 10){
         CustomerWebViewController *vc = [[CustomerWebViewController alloc] init];
         vc.titleStr = NSLocalizedString(@"mine_newuser_title",nil);
-//        NSString *url = @"http://testprivacy.phone.androidscloud.com:1801/warrantyService/index.html#/novice?isNovice=true";
-//        
-//        if([CloudService rangeOfString:@"hiboxde.armclouding.com"].location != NSNotFound){
-//            //url = @"http://hiboxde.armclouding.com:7780/h5/rule.html";;
-//        }
+
         NSString *url = [[NSString alloc] initWithFormat:@"%@/warrantyService/index.html#/novice?isNovice=true",CloudService];
         if(tag == 10){
             url = [url stringByReplacingOccurrencesOfString:@"?isNovice=true" withString:@""];

+ 0 - 8
创维盒子/双子星云手机/mine/mineViewController.m

@@ -189,10 +189,6 @@
             
             CustomerWebViewController *vc = [[CustomerWebViewController alloc] init];
             vc.titleStr = NSLocalizedString(@"mine_help_title",nil);
-//            NSString *url = @"http://testprivacy.phone.armclouding.com:1801/problemFeedback/#/pages/fileSharing/problem/index?sn=";
-//            if([CloudService rangeOfString:@"hiboxde.armclouding.com"].location != NSNotFound){
-//                //url = @"http://hiboxde.armclouding.com:7780/h5/rule.html";;
-//            }
             NSString *url = [[NSString alloc] initWithFormat:@"%@/problemFeedback/#/pages/fileSharing/problem/index?sn=",CloudService];
             vc.webUrl = [[NSString alloc] initWithFormat:@"%@%@",url,ksharedAppDelegate.DeviceThirdIdMod.data.changeSn];
             [self pushViewController:vc animated:YES];
@@ -212,10 +208,6 @@
         case 14:{
             CustomerWebViewController *vc = [[CustomerWebViewController alloc] init];
             vc.titleStr = NSLocalizedString(@"mine_newuser_title",nil);
-//            NSString *url = @"http://testprivacy.phone.androidscloud.com:1801/warrantyService/index.html#/novice";
-//            if([CloudService rangeOfString:@"hiboxde.armclouding.com"].location != NSNotFound){
-//                //url = @"http://hiboxde.armclouding.com:7780/h5/rule.html";;
-//            }
             NSString *url = [[NSString alloc] initWithFormat:@"%@/warrantyService/index.html#/novice",CloudService];
             vc.webUrl = url;
             [self pushViewController:vc animated:YES];