Преглед изворни кода

Editor's save function -- 编辑器的保存功能。(resolve: #14244)
Editor's submit function -- 编辑器的提交功能(resolve: #14245)
Editor save and submit function hook interface -- 编辑器保存和提交功能挂接口(resolve: #14246)
After some network access errors, the prompt message is empty -- 部分网络访问出错后,提示消息为空(resolve: #14247)
Add the function of bringing out the values of multiple fields from enum and auto-filling them -- 增加从enum带出多个字段的值并自动填充的功能(issue20: #14252)

Ray Zhang пре 4 година
родитељ
комит
138acf4335

BIN
RA TradeFiling/RA TradeFiling.xcodeproj/project.xcworkspace/xcuserdata/ruizhang.xcuserdatad/UserInterfaceState.xcuserstate


+ 177 - 1
RA TradeFiling/RA TradeFiling.xcodeproj/xcuserdata/ruizhang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -888,7 +888,7 @@
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
             uuid = "99055D44-76BC-4295-8D13-9F571C529A5D"
-            shouldBeEnabled = "No"
+            shouldBeEnabled = "Yes"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
             filePath = "../common/NetworkUtils.m"
@@ -980,5 +980,181 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "C13345FD-98F3-41E9-8540-AAE842D57F4D"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "RA TradeFiling/DataProvider/RADataProvider.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "193"
+            endingLineNumber = "193"
+            landmarkName = "+request_commoneditor_partialrefresh:url:completionHandler:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "4FF60EFE-24A9-492E-AA40-E4FCC48C8B30"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "../common/customUI/commoneditor/CommonEditorViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "2566"
+            endingLineNumber = "2566"
+            landmarkName = "-textfieldSetValue:value:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "0050D25D-655C-4CB0-A662-B52F74BA016E"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "../common/customUI/commoneditor/CommonEditorViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "2718"
+            endingLineNumber = "2718"
+            landmarkName = "-textfieldSetValue:value:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "48E8AFBB-FCAD-426F-8121-CFA51F17108A"
+            shouldBeEnabled = "No"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "RA TradeFiling/TFEditor/TFEditorViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "74"
+            endingLineNumber = "74"
+            landmarkName = "-menuItemClick:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "AF3167C9-6BC6-45C2-8A85-DCE94455BAA2"
+            shouldBeEnabled = "No"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "RA TradeFiling/TFEditor/TFEditorViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "55"
+            endingLineNumber = "55"
+            landmarkName = "-menuItemClick:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "25A903C6-D4AF-43EB-91CE-8A5EBF464D8C"
+            shouldBeEnabled = "No"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "RA TradeFiling/TFEditor/TFEditorViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "71"
+            endingLineNumber = "71"
+            landmarkName = "-menuItemClick:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "6DE296C9-0D76-4DFC-9175-A745BF4551E0"
+            shouldBeEnabled = "No"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "RA TradeFiling/TFEditor/TFEditorViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "79"
+            endingLineNumber = "79"
+            landmarkName = "-menuItemClick:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "CF86E119-D32F-4433-8ED0-73310DF8D7E1"
+            shouldBeEnabled = "No"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "RA TradeFiling/TFEditor/TFEditorViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "61"
+            endingLineNumber = "61"
+            landmarkName = "-menuItemClick:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "3077EA4B-B910-41E4-ADC5-3E0BD2D6955C"
+            shouldBeEnabled = "No"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "RA TradeFiling/DataProvider/RADataProvider.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "102"
+            endingLineNumber = "102"
+            landmarkName = "+SaveEditor:completionHandler:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "16523DFB-7768-40D9-B203-CB6FF6698B0D"
+            shouldBeEnabled = "No"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "RA TradeFiling/DataProvider/OnlineDataProvider.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "134"
+            endingLineNumber = "134"
+            landmarkName = "+request_save_editor:completionHandler:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "F90E1FFB-91A6-4B41-9DE6-12B6CA92BF67"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "../common/NetworkUtils.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "783"
+            endingLineNumber = "783"
+            landmarkName = "+request_interface:parameters:err_record_url:completionHandler:retry:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
    </Breakpoints>
 </Bucket>

+ 1 - 0
RA TradeFiling/RA TradeFiling/DataProvider/RADataProvider.h

@@ -33,6 +33,7 @@
 
 +(void)request_editor:(NSString*) request_url params:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
 +(void)request_commoneditor_partialrefresh: (NSMutableDictionary*)params url:(NSString*)url completionHandler:(resultHandler)result;
++(void)SaveEditor:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
 
 +(DetailContent*) json2DetailContent:(NSMutableDictionary*)jsobj;
 //

+ 2 - 2
RA TradeFiling/RA TradeFiling/FAKE_DATA/edit_isf.json

@@ -5,7 +5,7 @@
       "title": "SAVE",
       "url": "",
       "params": {
-        "action": ""
+        "action": "123"
       }
     },
     {
@@ -13,7 +13,7 @@
       "title": "SAVE & SUBMIT",
       "url": "",
       "params": {
-        "action": ""
+        "action": "234"
       }
     }
   ],

+ 1 - 1
RA TradeFiling/RA TradeFiling/Login/LoginViewController.m

@@ -146,7 +146,7 @@
                     message = NSLocalizedString(@"ver_low", nil);
                     break;
                 case RESULT_FAILED_WITH_MESSAGE:
-                    message = result[@"message"];
+                    message = result[@"err_msg"];
                     break;
                 default:
                     message=[NSString stringWithFormat:@"Failed to login code %d",ret];

+ 1 - 1
RA TradeFiling/RA TradeFiling/SignUp/SignupViewController.m

@@ -198,7 +198,7 @@
                     message = NSLocalizedString(@"ver_low", nil);
                     break;
                 case RESULT_FAILED_WITH_MESSAGE:
-                    message = result[@"message"];
+                    message = result[@"err_msg"];
                     break;
                 default:
                     message=[NSString stringWithFormat:@"Failed to login code %d",ret];

+ 308 - 3
RA TradeFiling/RA TradeFiling/TFEditor/TFEditorViewController.m

@@ -7,6 +7,7 @@
 
 #import "TFEditorViewController.h"
 #import "config.h"
+#import "RAUtils.h"
 
 @interface TFEditorViewController ()
 
@@ -53,7 +54,12 @@
 - (void)menuItemClick:(id)sender {
     UIAlertController *alertVC = [UIAlertController alertControllerWithTitle:nil message:nil preferredStyle:UIAlertControllerStyleActionSheet];
     
+    [self.lastedit endEditing:true];
+    [self.lasttextview endEditing:true];
 
+    
+    NSMutableDictionary* upparams = [self check_cancommit:false];
+    
     for(int i=0;i<self.injectMenu.count;i++)
     {
         NSDictionary* item = self.injectMenu[i];
@@ -62,13 +68,137 @@
 
             UIAlertAction *injectAction = [UIAlertAction actionWithTitle:NSLocalizedString(item[@"title"], nil) style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
                 
-                if([item[@"name"] isEqualToString:@"save_detail"])
+                if([item[@"name"] isEqualToString:@"save"])
                 {
+                    NSMutableDictionary* params= item[@"params"];
+                    [upparams addEntriesFromDictionary:params];
+                    
+                    [RADataProvider SaveEditor:upparams completionHandler:^(NSMutableDictionary *result) {
+                        int ret=[result[@"result"] intValue];
+                        
+                        if (ret==RESULT_TRUE)
+                        {
+                            
+                            
+                            [RAUtils message_alert:@"Successful" title:@"Save" controller:self action_handler:^(UIAlertAction * _Nonnull action) {
+                                [self.navigationController popViewControllerAnimated:YES];;
+                            }  completion:^{
+                                
+                                
+                                
+                            }];
+                //            NSUser
+                            
+//                            [self.navigationController popViewControllerAnimated:true];
+               
+                            
+                            
+                        }
+                        else
+                        {
+                            
+                            [[NSNotificationCenter defaultCenter] postNotificationName:RA_NOTIFICATION_LOGIN_FAILED object:nil];
+                            //                int a = RESULT_NET_NOTAVAILABLE;
+                            NSString* message = nil;
+                            switch (ret) {
+                                case RESULT_NET_NOTAVAILABLE:
+                                    message = NSLocalizedString(@"net_not_available", nil);
+                                    break;
+                                case RESULT_NET_ERROR:
+                                    message = NSLocalizedString(@"net_error", nil);
+                                    break;
+                                case RESULT_FALSE:
+                                    message = NSLocalizedString(@"auth_error", nil);
+                                    break;
+                                case RESULT_VER_LOW:
+                                    message = NSLocalizedString(@"ver_low", nil);
+                                    break;
+                                case RESULT_FAILED_WITH_MESSAGE:
+                                    message = result[@"err_msg"];
+                                    break;
+                                default:
+                                    message=[NSString stringWithFormat:@"Failed to login code %d",ret];
+                                    break;
+                            }
+                            
+                            UIAlertController *alertVC = [UIAlertController alertControllerWithTitle:NSLocalizedString(@"alert_title_error", nil) message:message preferredStyle:UIAlertControllerStyleAlert];
+                            UIAlertAction *action = [UIAlertAction actionWithTitle:NSLocalizedString(@"ok", nil) style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
+                                
+                            }];
+                            
+                            [alertVC addAction:action];
+                            
+                            [self presentViewController:alertVC animated:YES completion:nil];
+                        }
+                        
+                    }];
                 
                 }else
-                    if([item[@"name"] isEqualToString:@"save_detail&submit"])
+                    if([item[@"name"] isEqualToString:@"save&submit"])
                     {
+                        NSMutableDictionary* params= item[@"params"];
+                        [upparams addEntriesFromDictionary:params];
                         
+                        [RADataProvider SaveEditor:upparams completionHandler:^(NSMutableDictionary *result) {
+                            int ret=[result[@"result"] intValue];
+                            
+                            if (ret==RESULT_TRUE)
+                            {
+                                
+                                
+                                [RAUtils message_alert:@"Successful" title:@"Save" controller:self action_handler:^(UIAlertAction * _Nonnull action) {
+                                    [self.navigationController popToRootViewControllerAnimated:YES];;
+                                }  completion:^{
+                                    
+                                    
+                                    
+                                }];
+                    //            NSUser
+                                
+    //                            [self.navigationController popViewControllerAnimated:true];
+                   
+                                
+                                
+                            }
+                            else
+                            {
+                                
+                                [[NSNotificationCenter defaultCenter] postNotificationName:RA_NOTIFICATION_LOGIN_FAILED object:nil];
+                                //                int a = RESULT_NET_NOTAVAILABLE;
+                                NSString* message = nil;
+                                switch (ret) {
+                                    case RESULT_NET_NOTAVAILABLE:
+                                        message = NSLocalizedString(@"net_not_available", nil);
+                                        break;
+                                    case RESULT_NET_ERROR:
+                                        message = NSLocalizedString(@"net_error", nil);
+                                        break;
+                                    case RESULT_FALSE:
+                                        message = NSLocalizedString(@"auth_error", nil);
+                                        break;
+                                    case RESULT_VER_LOW:
+                                        message = NSLocalizedString(@"ver_low", nil);
+                                        break;
+                                    case RESULT_FAILED_WITH_MESSAGE:
+                                        message = result[@"err_msg"];
+                                        break;
+                                    default:
+                                        message=[NSString stringWithFormat:@"Failed to login code %d",ret];
+                                        break;
+                                }
+                                
+                                UIAlertController *alertVC = [UIAlertController alertControllerWithTitle:NSLocalizedString(@"alert_title_error", nil) message:message preferredStyle:UIAlertControllerStyleAlert];
+                                UIAlertAction *action = [UIAlertAction actionWithTitle:NSLocalizedString(@"ok", nil) style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
+                                    
+                                }];
+                                
+                                [alertVC addAction:action];
+                                
+                                [self presentViewController:alertVC animated:YES completion:nil];
+                            }
+                            
+                        }];
+                    
                     }
                     else
                         if([item[@"name"] isEqualToString:@"save_container"])
@@ -97,7 +227,182 @@
     
     [self presentViewController:alertVC animated:YES completion:nil];
 }
-
+-(void) commonAction:(NSString *)value index:(NSIndexPath*) indexPath data:(NSMutableDictionary*) item_json
+{
+//    AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
+    if([value isEqualToString:@"new_addr"])
+    {
+//        AddressEditorViewController * addressVC = [[AddressEditorViewController alloc] initWithNibName:@"CommonEditor.iPad" bundle:nil];
+//
+//        addressVC.url_type = URL_REMOTE;
+//
+//        addressVC.request_url=URL_ADDRESS_EDOTOR;
+//
+//
+//        NSMutableDictionary * params= [[NSMutableDictionary alloc] init];
+//
+//
+//        addressVC.params = params;
+//
+//
+//        addressVC.delegate = self;
+//
+//        addressVC.from = indexPath;
+//        //            orderinfoVC.params = params;
+//
+//        [self.navigationController pushViewController:addressVC animated:true];
+        
+    }else if([value isEqualToString:@"credit_card"])
+    {
+//        CreditCardEditorViewController * cardVC = [[CreditCardEditorViewController alloc] initWithNibName:@"CommonEditor.iPad" bundle:nil];
+//
+//
+//        NSDictionary *data = [item_json objectForKey:@"data"];
+//
+//        if(data!=nil)
+//        {
+//
+//            cardVC.content_data_download = [data mutableCopy];
+//            cardVC.url_type = URL_NONE;
+//
+//            cardVC.request_url=nil;
+//        }
+//        else
+//        {
+//            cardVC.url_type = URL_REMOTE;
+//
+//            cardVC.request_url=URL_CREDITCARD_EDOTOR;
+//        }
+//        NSMutableDictionary * params= [[NSMutableDictionary alloc] init];
+//
+//        params[@"orderCode"]=appDelegate.order_code;
+//        cardVC.params = params;
+//
+//        cardVC.delegate = self;
+//
+//        cardVC.from = indexPath;
+//
+//
+//        [self.navigationController pushViewController:cardVC animated:true];
+        
+    }
+    else if([value isEqualToString:@"Sales_Order_Freight_Bill_To"])
+    {
+        
+        
+//        ContactListViewController* cvc = [[UIStoryboard storyboardWithName:@"ERP_Mobile_Contact" bundle:nil] instantiateViewControllerWithIdentifier:@"ContactListViewController" ];
+//        cvc.showNavibar = true;
+//        cvc.contact_type = value;
+//        __weak typeof(self) weakself = self;
+//        cvc.returnValue = ^(NSMutableDictionary* value,NSIndexPath* source){
+//
+//            [weakself handle_action_return:value indexPath:indexPath action:ACTION_FILL_SECTION];
+//
+//        };
+//
+//
+//
+//        [self.navigationController pushViewController:cvc animated:true];
+        
+    }
+    else if([value isEqualToString:@"Sales_Order_Ship_From"])
+    {
+        
+//
+//        ContactListViewController* cvc = [[UIStoryboard storyboardWithName:@"ERP_Mobile_Contact" bundle:nil] instantiateViewControllerWithIdentifier:@"ContactListViewController" ];
+//        cvc.showNavibar = true;
+//        cvc.contact_type = value;
+//        __weak typeof(self) weakself = self;
+//        cvc.returnValue = ^(NSMutableDictionary* value,NSIndexPath* source){
+//
+//            [weakself handle_action_return:value indexPath:indexPath action:ACTION_FILL_SECTION];
+//
+//        };
+//
+//
+//
+//        [self.navigationController pushViewController:cvc animated:true];
+//
+    }
+    else if([value isEqualToString:@"Sales_Order_Customer"])
+    {
+        
+//
+//        ContactListViewController* cvc = [[UIStoryboard storyboardWithName:@"ERP_Mobile_Contact" bundle:nil] instantiateViewControllerWithIdentifier:@"ContactListViewController" ];
+//
+//        cvc.contact_type = value;
+//        cvc.showNavibar = true;
+//        __weak typeof(self) weakself = self;
+//        cvc.returnValue = ^(NSMutableDictionary* value,NSIndexPath* source){
+//
+//            [weakself handle_action_return:value indexPath:indexPath action:ACTION_FILL_SECTION];
+//
+//        };
+//
+//
+//
+//        [self.navigationController pushViewController:cvc animated:true];
+        
+    }
+    else if([value isEqualToString:@"Sales_Order_Merchandise_Bill_To"])
+    {
+        
+//
+//        ContactListViewController* cvc = [[UIStoryboard storyboardWithName:@"ERP_Mobile_Contact" bundle:nil] instantiateViewControllerWithIdentifier:@"ContactListViewController" ];
+//        cvc.showNavibar = true;
+//        cvc.contact_type = value;
+//        __weak typeof(self) weakself = self;
+//        cvc.returnValue = ^(NSMutableDictionary* value,NSIndexPath* source){
+//
+//            [weakself handle_action_return:value indexPath:indexPath action:ACTION_FILL_SECTION];
+//
+//        };
+//
+//
+//
+//        [self.navigationController pushViewController:cvc animated:true];
+//
+    }
+    else if([value isEqualToString:@"Contact_Return_To"])
+    {
+        
+//
+//        ContactListViewController* cvc = [[UIStoryboard storyboardWithName:@"ERP_Mobile_Contact" bundle:nil] instantiateViewControllerWithIdentifier:@"ContactListViewController" ];
+//        cvc.showNavibar = true;
+//        cvc.contact_type = value;
+//        __weak typeof(self) weakself = self;
+//        cvc.returnValue = ^(NSMutableDictionary* value,NSIndexPath* source){
+//
+//            [weakself handle_action_return:value indexPath:indexPath action:ACTION_FILL_SECTION];
+//
+//        };
+//
+//
+//
+//        [self.navigationController pushViewController:cvc animated:true];
+        
+    }
+    else if([value isEqualToString:@"Sales_Order_Ship_To"])
+    {
+        
+//
+//        ContactListViewController* cvc = [[UIStoryboard storyboardWithName:@"ERP_Mobile_Contact" bundle:nil] instantiateViewControllerWithIdentifier:@"ContactListViewController" ];
+//        cvc.showNavibar = true;
+//        cvc.contact_type = value;
+//        __weak typeof(self) weakself = self;
+//        cvc.returnValue = ^(NSMutableDictionary* value,NSIndexPath* source){
+//
+//            [weakself handle_action_return:value indexPath:indexPath action:ACTION_FILL_SECTION];
+//
+//        };
+//
+//
+//
+//        [self.navigationController pushViewController:cvc animated:true];
+        
+    }
+    
+}
 /*
 #pragma mark - Navigation
 

+ 11 - 11
RA TradeFiling/RA TradeFiling/config.h

@@ -28,25 +28,25 @@
 // 接口定义
 
 
-#define URL_LOGIN         BASE_URL@"/loginMobile.php"
-#define URL_CHANGE_PASS         BASE_URL@"/loginMobile.php"
-#define URL_LOGOUT         BASE_URL@"/loginMobile.php"
-#define URL_RETRIEVE_PASS       BASE_URL@"/loginMobile.php"
+#define URL_LOGIN         BASE_URL@"/loginMobile_v1.php"
+#define URL_CHANGE_PASS         BASE_URL@"/loginMobile_v1.php"
+#define URL_LOGOUT         BASE_URL@"/loginMobile_v1.php"
+#define URL_RETRIEVE_PASS       BASE_URL@"/loginMobile_v1.php"
 
-#define URL_SIGNUP         BASE_URL@"/loginMobile.php"
-#define URL_HOME                BASE_URL@"/mobileMain.php"
-#define URL_SEARCH_RESULT       BASE_URL@"/resultMobile.php"
+#define URL_SIGNUP         BASE_URL@"/loginMobile_v1.php"
+#define URL_HOME                BASE_URL@"/mobileMain_v1.php"
+#define URL_SEARCH_RESULT       BASE_URL@"/resultMobile_v1.php"
 
 #define URL_PRIVACY             @"http://united-us.net/privacy.html"
 #define URL_ERR_LOG             @""
-#define URL_REQUEST_DETAIL      BASE_URL@"/resultMobile.php"
+#define URL_REQUEST_DETAIL      BASE_URL@"/resultMobile_v1.php"
 
 // commoneditor 图片上传url
 #define URL_UPLOAD_IMG          @""
-#define URL_SAVE_EDITOR         BASE_URL@""
+#define URL_SAVE_EDITOR         BASE_URL@"/editorMobile_v1.php"
 
-#define URL_EDIT                BASE_URL@"/editorMobile.php"
-#define URL_CADEDATE            BASE_URL@"/resultMobile.php"
+#define URL_EDIT                BASE_URL@"/editorMobile_v1.php"
+#define URL_CADEDATE            BASE_URL@"/resultMobile_v1.php"
 
 //#define URL_SAVE_PANEL       BASE_URL@"/main_new_29.php"