Parcourir la source

修复屏幕旋转时重制密码输入。

Pen Li il y a 9 ans
Parent
commit
acd0200dd9

BIN
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/macmini1.xcuserdatad/UserInterfaceState.xcuserstate


+ 52 - 27
RedAnt ERP Mobile/iSales-NPD/JKLock/JKLockController.m

@@ -14,6 +14,7 @@
 #define Dot_Interval 60
 #define Dot_Interval 60
 #define Dot_Width 20
 #define Dot_Width 20
 
 
+#define View_Tag 10086
 
 
 @interface JKLockController ()
 @interface JKLockController ()
 
 
@@ -83,7 +84,7 @@
     CGFloat width = CGRectGetWidth(self.view.bounds);
     CGFloat width = CGRectGetWidth(self.view.bounds);
     CGFloat height = CGRectGetHeight(self.view.bounds);
     CGFloat height = CGRectGetHeight(self.view.bounds);
     
     
-    [self clearView];
+//    [self clearView];
     
     
     // 20
     // 20
     CGFloat y0 = height * 0.2;
     CGFloat y0 = height * 0.2;
@@ -94,10 +95,16 @@
     CGFloat y1 = y0 + CGRectGetHeight(self.tipLabel.bounds) + 20; // 间距20,高度20
     CGFloat y1 = y0 + CGRectGetHeight(self.tipLabel.bounds) + 20; // 间距20,高度20
     CGFloat x1 = (width - Dot_Width * Password_Length - Dot_Interval * (Password_Length - 1)) / 2;
     CGFloat x1 = (width - Dot_Width * Password_Length - Dot_Interval * (Password_Length - 1)) / 2;
     for (int i = 0; i < Password_Length; i++) {
     for (int i = 0; i < Password_Length; i++) {
-        JKDotView *dot = [[JKDotView alloc] initWithFrame:CGRectMake(x1 + (Dot_Width + Dot_Interval) * i, y1, Dot_Width, Dot_Width) strokColor:self.dotStrokColor fillColor:self.dotFillColor];
-        
-        [self.view addSubview:dot];
-        [self.dotArray addObject:dot];
+        JKDotView *dotView = [self.view viewWithTag:View_Tag + 20 + i];
+        if (dotView) {
+            dotView.frame = CGRectMake(x1 + (Dot_Width + Dot_Interval) * i, y1, Dot_Width, Dot_Width);
+        } else {
+            JKDotView *dot = [[JKDotView alloc] initWithFrame:CGRectMake(x1 + (Dot_Width + Dot_Interval) * i, y1, Dot_Width, Dot_Width) strokColor:self.dotStrokColor fillColor:self.dotFillColor];
+            dot.tag = View_Tag + 20 + i;
+            
+            [self.view addSubview:dot];
+            [self.dotArray addObject:dot];
+        }
     }
     }
     
     
     // 70
     // 70
@@ -111,38 +118,56 @@
         
         
         for (int j = 0; j < 4; j++) { // row
         for (int j = 0; j < 4; j++) { // row
             
             
+            int index = 3 * j + i + View_Tag + 50;
+            UIView *view = [self.view viewWithTag:index];
             
             
             if (i == 0 && j == 3) { // 取消
             if (i == 0 && j == 3) { // 取消
                 
                 
-                UIButton *cancelBtn = [UIButton buttonWithType:UIButtonTypeCustom];
-                cancelBtn.frame = CGRectMake(x2 + (Button_Width + interval) * i, y2 + (Button_Width + interval) * j, Button_Width, Button_Width);
-                [cancelBtn setTitle:@"cancel" forState:UIControlStateNormal];
-                [cancelBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
-                [cancelBtn setTitleColor:[UIColor lightGrayColor] forState:UIControlStateHighlighted];
-                [cancelBtn addTarget:self action:@selector(cancelButtonClick:) forControlEvents:UIControlEventTouchUpInside];
-                [self.view addSubview:cancelBtn];
+                if (!view) {
+                    UIButton *cancelBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+                    cancelBtn.frame = CGRectMake(x2 + (Button_Width + interval) * i, y2 + (Button_Width + interval) * j, Button_Width, Button_Width);
+                    [cancelBtn setTitle:@"cancel" forState:UIControlStateNormal];
+                    [cancelBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
+                    [cancelBtn setTitleColor:[UIColor lightGrayColor] forState:UIControlStateHighlighted];
+                    [cancelBtn addTarget:self action:@selector(cancelButtonClick:) forControlEvents:UIControlEventTouchUpInside];
+                    [self.view addSubview:cancelBtn];
+                    cancelBtn.tag = index;
+                } else {
+                    view.frame = CGRectMake(x2 + (Button_Width + interval) * i, y2 + (Button_Width + interval) * j, Button_Width, Button_Width);
+                }
                 
                 
             } else if (i == 2 && j == 3) { // 删除
             } else if (i == 2 && j == 3) { // 删除
                 
                 
-                UIButton *deleteBtn = [UIButton buttonWithType:UIButtonTypeCustom];
-                deleteBtn.frame = CGRectMake(x2 + (Button_Width + interval) * i, y2 + (Button_Width + interval) * j, Button_Width, Button_Width);
-                [deleteBtn setTitle:@"delete" forState:UIControlStateNormal];
-                [deleteBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
-                [deleteBtn setTitleColor:[UIColor lightGrayColor] forState:UIControlStateHighlighted];
-                [deleteBtn addTarget:self action:@selector(deleteButtonClick:) forControlEvents:UIControlEventTouchUpInside];
-                [self.view addSubview:deleteBtn];
+                if (view) {
+                    view.frame = CGRectMake(x2 + (Button_Width + interval) * i, y2 + (Button_Width + interval) * j, Button_Width, Button_Width);
+                } else {
+                    UIButton *deleteBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+                    deleteBtn.frame = CGRectMake(x2 + (Button_Width + interval) * i, y2 + (Button_Width + interval) * j, Button_Width, Button_Width);
+                    [deleteBtn setTitle:@"delete" forState:UIControlStateNormal];
+                    [deleteBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
+                    [deleteBtn setTitleColor:[UIColor lightGrayColor] forState:UIControlStateHighlighted];
+                    [deleteBtn addTarget:self action:@selector(deleteButtonClick:) forControlEvents:UIControlEventTouchUpInside];
+                    [self.view addSubview:deleteBtn];
+                    deleteBtn.tag = index;
+                }
                 
                 
             } else { // 数字
             } else { // 数字
-                JKLockButton *btn = [[JKLockButton alloc] initWithFrame:CGRectMake(x2 + (Button_Width + interval) * i, y2 + (Button_Width + interval) * j, Button_Width, Button_Width) strokColor:self.lockStrokColor highlightColor:self.lockHighlightColor];
-
-                
-                if (i == 1 && j == 3) {
-                    btn.number = 0;
+                JKLockButton *btn = (JKLockButton *)view;
+                if (btn) {
+                    btn.frame = CGRectMake(x2 + (Button_Width + interval) * i, y2 + (Button_Width + interval) * j, Button_Width, Button_Width);
                 } else {
                 } else {
-                    btn.number = 1 + i + j * 3;
+                    btn = [[JKLockButton alloc] initWithFrame:CGRectMake(x2 + (Button_Width + interval) * i, y2 + (Button_Width + interval) * j, Button_Width, Button_Width) strokColor:self.lockStrokColor highlightColor:self.lockHighlightColor];
+                    if (i == 1 && j == 3) {
+                        btn.number = 0;
+                    } else {
+                        btn.number = 1 + i + j * 3;
+                    }
+                    [self.view addSubview:btn];
+                    [btn addTarget:self action:@selector(numberButtonClick:) forControlEvents:UIControlEventTouchUpInside];
+                    btn.tag = index;
                 }
                 }
-                [self.view addSubview:btn];
-                [btn addTarget:self action:@selector(numberButtonClick:) forControlEvents:UIControlEventTouchUpInside];
+
+                
             }
             }
             
             
         }
         }

+ 74 - 74
RedAnt ERP Mobile/iSales-NPD/config.h

@@ -27,119 +27,119 @@
 #ifdef test_server
 #ifdef test_server
 
 
 //------------------- chen server-----------------------
 //------------------- chen server-----------------------
-#define  URL_UPDATE_AUTH  @"http://192.168.0.126:8080/site/isales/login.htm"
-#define  URL_LOGOUT  @"http://192.168.0.126:8080/site/isales/loginOut.htm"
-#define  URL_RETRIEVE_PASS  @"http://192.168.0.126:8080/site/isales/forgotPassword.htm"
+#define  URL_UPDATE_AUTH  @"http://192.168.0.112:8080/site/isales/login.htm"
+#define  URL_LOGOUT  @"http://192.168.0.112:8080/site/isales/loginOut.htm"
+#define  URL_RETRIEVE_PASS  @"http://192.168.0.112:8080/site/isales/forgotPassword.htm"
 
 
-#define  URL_REQUEST_CATMENU  @"http://192.168.0.126:8080/site/isales/menu.htm"
-#define  URL_LOAD_HOME  @"http://192.168.0.126:8080/site/isales/homePage.htm"
-#define  URL_CATEGORY @"http://192.168.0.126:8080/site/isales/distinctCategory.htm"
-#define  URL_SEARCH  @"http://192.168.0.126:8080/site/isales/search.htm"
-#define  URL_ITEM_SEARCH  @"http://192.168.0.126:8080/site/isales/itemSearch.htm"
-#define  URL_CATEGORY_LOADMORE  @"http://192.168.0.126:8080/site/isales/categoryMore.htm"
-#define  URL_CUSTOMER_ADV_SEARCH @"http://192.168.0.126:8080/site/isales/getContactAdvance.htm"
+#define  URL_REQUEST_CATMENU  @"http://192.168.0.112:8080/site/isales/menu.htm"
+#define  URL_LOAD_HOME  @"http://192.168.0.112:8080/site/isales/homePage.htm"
+#define  URL_CATEGORY @"http://192.168.0.112:8080/site/isales/distinctCategory.htm"
+#define  URL_SEARCH  @"http://192.168.0.112:8080/site/isales/search.htm"
+#define  URL_ITEM_SEARCH  @"http://192.168.0.112:8080/site/isales/itemSearch.htm"
+#define  URL_CATEGORY_LOADMORE  @"http://192.168.0.112:8080/site/isales/categoryMore.htm"
+#define  URL_CUSTOMER_ADV_SEARCH @"http://192.168.0.112:8080/site/isales/getContactAdvance.htm"
 
 
 
 
-#define  URL_ORDER_LIST  @"http://192.168.0.126:8080/site/isales/orderList.htm"
-#define  URL_ORDER_DETAIL  @"http://192.168.0.126:8080/site/isales/orderDetail.htm"
-#define URL_COMMIT_ORDER @"http://192.168.0.126:8080/site/isales/createOrder.htm"
-#define URL_COPY_ORDER @"http://192.168.0.126:8080/site/isales/copyOrder.htm"
-#define URL_SIGN_ORDER @"http://192.168.0.126:8080/site/isales/updateOrderSign.htm"
-#define URL_SAVE_ORDER @"http://192.168.0.126:8080/site/isales/saveOrder.htm"
-#define URL_UPDATE_ORDERCUSTOMER @"http://192.168.0.126:8080/site/isales/updateOrderCustomerInfo.htm"
-#define  URL_NEW_ORDER  @"http://192.168.0.126:8080/site/isales/createNewOrder.htm"
-#define  URL_OPEN_ORDER  @"http://192.168.0.126:8080/site/isales/openOrder.htm"
-#define  URL_RELEASE_ORDER  @"http://192.168.0.126:8080/site/isales/closeOrder.htm"
-#define  URL_DELETE_ORDER  @"http://192.168.0.126:8080/site/isales/deleteOrder.htm"
-#define  URL_CANCEL_ORDER  @"http://192.168.0.126:8080/site/isales/cancelOrder.htm"
+#define  URL_ORDER_LIST  @"http://192.168.0.112:8080/site/isales/orderList.htm"
+#define  URL_ORDER_DETAIL  @"http://192.168.0.112:8080/site/isales/orderDetail.htm"
+#define URL_COMMIT_ORDER @"http://192.168.0.112:8080/site/isales/createOrder.htm"
+#define URL_COPY_ORDER @"http://192.168.0.112:8080/site/isales/copyOrder.htm"
+#define URL_SIGN_ORDER @"http://192.168.0.112:8080/site/isales/updateOrderSign.htm"
+#define URL_SAVE_ORDER @"http://192.168.0.112:8080/site/isales/saveOrder.htm"
+#define URL_UPDATE_ORDERCUSTOMER @"http://192.168.0.112:8080/site/isales/updateOrderCustomerInfo.htm"
+#define  URL_NEW_ORDER  @"http://192.168.0.112:8080/site/isales/createNewOrder.htm"
+#define  URL_OPEN_ORDER  @"http://192.168.0.112:8080/site/isales/openOrder.htm"
+#define  URL_RELEASE_ORDER  @"http://192.168.0.112:8080/site/isales/closeOrder.htm"
+#define  URL_DELETE_ORDER  @"http://192.168.0.112:8080/site/isales/deleteOrder.htm"
+#define  URL_CANCEL_ORDER  @"http://192.168.0.112:8080/site/isales/cancelOrder.htm"
 
 
 
 
-#define  URL_CART_SET_PRICE  @"http://192.168.0.126:8080/site/isales/setPrice.htm"
-#define  URL_CART_ITEM_NOTES  @"http://192.168.0.126:8080/site/isales/setItemNotes.htm"
-#define  URL_CART_GENERAL_NOTES  @"http://192.168.0.126:8080/site/isales/updateGeneralNote.htm"
+#define  URL_CART_SET_PRICE  @"http://192.168.0.112:8080/site/isales/setPrice.htm"
+#define  URL_CART_ITEM_NOTES  @"http://192.168.0.112:8080/site/isales/setItemNotes.htm"
+#define  URL_CART_GENERAL_NOTES  @"http://192.168.0.112:8080/site/isales/updateGeneralNote.htm"
 
 
-#define  URL_CART_INCRESEMENT  @"http://192.168.0.126:8080/site/isales/increment.htm"
-#define  URL_CART  @"http://192.168.0.126:8080/site/isales/cartDtail.htm"
-#define  URL_CARTDELIVERY  @"http://192.168.0.126:8080/site/isales/cartDelivery.htm"
-#define  URL_ADD_TO_CART  @"http://192.168.0.126:8080/site/isales/addToCart.htm"
-#define  URL_CART_REMOVE  @"http://192.168.0.126:8080/site/isales/deleteToCart.htm"
-#define  URL_CART_CHECK  @"http://192.168.0.126:8080/site/isales/checkCartItem.htm"
-#define  URL_CART2WISH  @"http://192.168.0.126:8080/site/isales/cartRemoveToWishlist.htm"
-#define  URL_WISH2CART  @"http://192.168.0.126:8080/site/isales/wishlistRemoveToCart.htm"
+#define  URL_CART_INCRESEMENT  @"http://192.168.0.112:8080/site/isales/increment.htm"
+#define  URL_CART  @"http://192.168.0.112:8080/site/isales/cartDtail.htm"
+#define  URL_CARTDELIVERY  @"http://192.168.0.112:8080/site/isales/cartDelivery.htm"
+#define  URL_ADD_TO_CART  @"http://192.168.0.112:8080/site/isales/addToCart.htm"
+#define  URL_CART_REMOVE  @"http://192.168.0.112:8080/site/isales/deleteToCart.htm"
+#define  URL_CART_CHECK  @"http://192.168.0.112:8080/site/isales/checkCartItem.htm"
+#define  URL_CART2WISH  @"http://192.168.0.112:8080/site/isales/cartRemoveToWishlist.htm"
+#define  URL_WISH2CART  @"http://192.168.0.112:8080/site/isales/wishlistRemoveToCart.htm"
 
 
 
 
 
 
 
 
-#define  URL_CATEGORYADDALL  @"http://192.168.0.126:8080/site/isales/categoryAddAllTo.htm"
-#define  URL_SEARCHADDALL  @"http://192.168.0.126:8080/site/isales/searchAddAllTo.htm"
-#define  URL_ITEMSEARCHADDALL @"http://192.168.0.126:8080/site/isales/itemSearchAddAllTo.htm"
+#define  URL_CATEGORYADDALL  @"http://192.168.0.112:8080/site/isales/categoryAddAllTo.htm"
+#define  URL_SEARCHADDALL  @"http://192.168.0.112:8080/site/isales/searchAddAllTo.htm"
+#define  URL_ITEMSEARCHADDALL @"http://192.168.0.112:8080/site/isales/itemSearchAddAllTo.htm"
 
 
 
 
-#define  URL_ITEM_DETAIL  @"http://192.168.0.126:8080/site/isales/modelDetail.htm"
+#define  URL_ITEM_DETAIL  @"http://192.168.0.112:8080/site/isales/modelDetail.htm"
 
 
-#define  URL_ADD_TO_WATCHLIST  @"http://192.168.0.126:8080/site/isales/addToWishList.htm"
-#define  URL_WATCHLIST  @"http://192.168.0.126:8080/site/isales/wishList.htm"
-#define  URL_WATCHLIST_REMOVE  @"http://192.168.0.126:8080/site/isales/deleteToWishList.htm"
+#define  URL_ADD_TO_WATCHLIST  @"http://192.168.0.112:8080/site/isales/addToWishList.htm"
+#define  URL_WATCHLIST  @"http://192.168.0.112:8080/site/isales/wishList.htm"
+#define  URL_WATCHLIST_REMOVE  @"http://192.168.0.112:8080/site/isales/deleteToWishList.htm"
 
 
 
 
 
 
-#define  URL_ADD_TO_PORTFOLIO @"http://192.168.0.126:8080/site/isales/addToPortfolio.htm"
-#define  URL_PORTFOLIO_REMOVE  @"http://192.168.0.126:8080/site/isales/deleteToPortfolio.htm"
-#define  URL_PORTFOLIOLIST_REMOVE  @"http://192.168.0.126:8080/site/isales/deleteTearSheetPdf.htm"
-#define  URL_PORTFOLIO  @"http://192.168.0.126:8080/site/isales/portfolios.htm"
-#define  URL_PORTFOLIO_SET_PRICE  @"http://192.168.0.126:8080/site/isales/setTearSheetPrice.htm"
-#define  URL_DM_PARAMS @"http://192.168.0.126:8080/site/isales/selectTearSheetParam.htm"
-#define  URL_REQUEST_DM @"http://192.168.0.126:8080/site/isales/getTearSheetPdf.htm"
-#define  URL_SAVE_DM_DIRECT @"http://192.168.0.126:8080/site/isales/getTearSheetPdf.htm"
-#define  URL_SAVE_DM @"http://192.168.0.126:8080/site/isales/saveTearSheetPdf.htm"
-#define  URL_DM_LIST @"http://192.168.0.126:8080/site/isales/tearSheetPdfList.htm"
-//#define  URL_DM_SET_QTY @"http://192.168.0.126:8080/site/isales/setTearSheetAvailableQty.htm"
-#define  URL_REQUEST_MODEL_QTY @"http://192.168.0.126:8080/site/isales/getTearSheetAvailableQty.htm"
+#define  URL_ADD_TO_PORTFOLIO @"http://192.168.0.112:8080/site/isales/addToPortfolio.htm"
+#define  URL_PORTFOLIO_REMOVE  @"http://192.168.0.112:8080/site/isales/deleteToPortfolio.htm"
+#define  URL_PORTFOLIOLIST_REMOVE  @"http://192.168.0.112:8080/site/isales/deleteTearSheetPdf.htm"
+#define  URL_PORTFOLIO  @"http://192.168.0.112:8080/site/isales/portfolios.htm"
+#define  URL_PORTFOLIO_SET_PRICE  @"http://192.168.0.112:8080/site/isales/setTearSheetPrice.htm"
+#define  URL_DM_PARAMS @"http://192.168.0.112:8080/site/isales/selectTearSheetParam.htm"
+#define  URL_REQUEST_DM @"http://192.168.0.112:8080/site/isales/getTearSheetPdf.htm"
+#define  URL_SAVE_DM_DIRECT @"http://192.168.0.112:8080/site/isales/getTearSheetPdf.htm"
+#define  URL_SAVE_DM @"http://192.168.0.112:8080/site/isales/saveTearSheetPdf.htm"
+#define  URL_DM_LIST @"http://192.168.0.112:8080/site/isales/tearSheetPdfList.htm"
+//#define  URL_DM_SET_QTY @"http://192.168.0.112:8080/site/isales/setTearSheetAvailableQty.htm"
+#define  URL_REQUEST_MODEL_QTY @"http://192.168.0.112:8080/site/isales/getTearSheetAvailableQty.htm"
 
 
-#define  URL_CONTACT_LIST  @"http://192.168.0.126:8080/site/isales/getAllContact.htm"
-#define  URL_SHIPTO_LIST  @"http://192.168.0.126:8080/site/isales/getShipToContact.htm"
+#define  URL_CONTACT_LIST  @"http://192.168.0.112:8080/site/isales/getAllContact.htm"
+#define  URL_SHIPTO_LIST  @"http://192.168.0.112:8080/site/isales/getShipToContact.htm"
 
 
-#define  URL_ADDRESS_EDOTOR  @"http://192.168.0.126:8080/site/isales/getAddAddress.htm"
-#define  URL_ADDRESS_SAVE  @"http://192.168.0.126:8080/site/isales/saveAddress.htm"
+#define  URL_ADDRESS_EDOTOR  @"http://192.168.0.112:8080/site/isales/getAddAddress.htm"
+#define  URL_ADDRESS_SAVE  @"http://192.168.0.112:8080/site/isales/saveAddress.htm"
 
 
 
 
-#define  URL_CREDITCARD_EDOTOR  @"http://192.168.0.126:8080/site/isales/creditCard.htm"
-#define  URL_CREDITCARD_SAVE  @"http://192.168.0.126:8080/site/isales/saveAddress.htm"
+#define  URL_CREDITCARD_EDOTOR  @"http://192.168.0.112:8080/site/isales/creditCard.htm"
+#define  URL_CREDITCARD_SAVE  @"http://192.168.0.112:8080/site/isales/saveAddress.htm"
 
 
 
 
 
 
-#define  URL_CUSTOMER_INFO  @"http://192.168.0.126:8080/site/isales/getCustomerInfoByContact.htm"
-#define  URL_CUSTOMER_PENDINGORDER  @"http://192.168.0.126:8080/site/isales/hasPendingOrderByContact.htm"
-#define  URL_NEW_CUSTOMER  @"http://192.168.0.126:8080/site/isales/getAddCustomer.htm"
-#define  URL_EDIT_CUSTOMER  @"http://192.168.0.126:8080/site/isales/getUpdateCustomerInfoByContact.htm"
-#define  URL_CUSTOMER_SAVE  @"http://192.168.0.126:8080/site/isales/saveCustomer.htm"
-#define  URL_CUSTOMER_UPDATE  @"http://192.168.0.126:8080/site/isales/updateCustomer.htm"
-#define  URL_UPDATE_CUSTOMER_BCARD  @"http://192.168.0.126:8080/site/isales/updateCustomerBusiCard.htm"
+#define  URL_CUSTOMER_INFO  @"http://192.168.0.112:8080/site/isales/getCustomerInfoByContact.htm"
+#define  URL_CUSTOMER_PENDINGORDER  @"http://192.168.0.112:8080/site/isales/hasPendingOrderByContact.htm"
+#define  URL_NEW_CUSTOMER  @"http://192.168.0.112:8080/site/isales/getAddCustomer.htm"
+#define  URL_EDIT_CUSTOMER  @"http://192.168.0.112:8080/site/isales/getUpdateCustomerInfoByContact.htm"
+#define  URL_CUSTOMER_SAVE  @"http://192.168.0.112:8080/site/isales/saveCustomer.htm"
+#define  URL_CUSTOMER_UPDATE  @"http://192.168.0.112:8080/site/isales/updateCustomer.htm"
+#define  URL_UPDATE_CUSTOMER_BCARD  @"http://192.168.0.112:8080/site/isales/updateCustomerBusiCard.htm"
 
 
 
 
 
 
 
 
 
 
 
 
-#define  URL_ERR_LOG  @"http://192.168.0.126:8080/site/isales/er_log.htm"
+#define  URL_ERR_LOG  @"http://192.168.0.112:8080/site/isales/er_log.htm"
 
 
-#define  URL_UPLOAD_IMG  @"http://192.168.0.126:8080/site/isales/uploadImg.htm"
+#define  URL_UPLOAD_IMG  @"http://192.168.0.112:8080/site/isales/uploadImg.htm"
 
 
 
 
-#define  URL_NPD_POLICY  @"http://192.168.0.126:8080/site/isales/generalPolicy.htm"
+#define  URL_NPD_POLICY  @"http://192.168.0.112:8080/site/isales/generalPolicy.htm"
 
 
 
 
-#define  URL_CHECK_OFFLINE  @"http://192.168.0.126:8080/site/offline/initDatas.htm"
-#define  URL_UPLOAD_OFFLINE  @"http://192.168.0.126:8080/site/offline/uploadOfflineData.htm"
+#define  URL_CHECK_OFFLINE  @"http://192.168.0.112:8080/site/offline/initDatas.htm"
+#define  URL_UPLOAD_OFFLINE  @"http://192.168.0.112:8080/site/offline/uploadOfflineData.htm"
 
 
 
 
-#define  URL_DOWNLOAD_OFFLINE  @"http://192.168.0.126:8080/site/offline/downloadDatas.htm"
-#define  URL_FINISH_DOWNLOAD_OFFLINE  @"http://192.168.0.126:8080/site/offline/confirmVersion.htm"
+#define  URL_DOWNLOAD_OFFLINE  @"http://192.168.0.112:8080/site/offline/downloadDatas.htm"
+#define  URL_FINISH_DOWNLOAD_OFFLINE  @"http://192.168.0.112:8080/site/offline/confirmVersion.htm"
 
 
 
 
-#define  URL_GET_RESULT  @"http://192.168.0.126:8080/site/offline/getResultBySerial.htm"
+#define  URL_GET_RESULT  @"http://192.168.0.112:8080/site/offline/getResultBySerial.htm"
 
 
-#define URL_SET_PRICE_TYPE @"http://192.168.0.126:8080/site/isales/setSeePriceType.htm"
+#define URL_SET_PRICE_TYPE @"http://192.168.0.112:8080/site/isales/setSeePriceType.htm"
 
 
 #else
 #else