|
|
@@ -16,7 +16,7 @@
|
|
|
|
|
|
#define CONTACT_LIST 1
|
|
|
|
|
|
-#define test_server
|
|
|
+//#define test_server
|
|
|
#import "Singleton.h"
|
|
|
#define notifyMe_switch 1
|
|
|
#define exception_switch 1
|
|
|
@@ -173,98 +173,98 @@
|
|
|
#define URL_NOTIFY_ME @""
|
|
|
|
|
|
//------------------- HMLG TEST server-----------------------
|
|
|
-#define URL_UPDATE_AUTH @"http://207.140.24.83/isales/login.htm"
|
|
|
-#define URL_LOGOUT @"http://207.140.24.83/isales/loginOut.htm"
|
|
|
-#define URL_RETRIEVE_PASS @"http://207.140.24.83/isales/forgotPassword.htm"
|
|
|
+#define URL_UPDATE_AUTH @"https://erp.homelegance.com/isales/login.htm"
|
|
|
+#define URL_LOGOUT @"https://erp.homelegance.com/isales/loginOut.htm"
|
|
|
+#define URL_RETRIEVE_PASS @"https://erp.homelegance.com/isales/forgotPassword.htm"
|
|
|
|
|
|
-#define URL_REQUEST_CATMENU @"http://207.140.24.83/isales/menu.htm"
|
|
|
-#define URL_LOAD_HOME @"http://207.140.24.83/isales/homePage.htm"
|
|
|
-#define URL_CATEGORY @"http://207.140.24.83/isales/distinctCategory.htm"
|
|
|
-#define URL_SEARCH @"http://207.140.24.83/isales/search.htm"
|
|
|
-#define URL_ITEM_SEARCH @"http://207.140.24.83/isales/itemSearch.htm"
|
|
|
-#define URL_CATEGORY_LOADMORE @"http://207.140.24.83/isales/categoryMore.htm"
|
|
|
+#define URL_REQUEST_CATMENU @"https://erp.homelegance.com/isales/menu.htm"
|
|
|
+#define URL_LOAD_HOME @"https://erp.homelegance.com/isales/homePage.htm"
|
|
|
+#define URL_CATEGORY @"https://erp.homelegance.com/isales/distinctCategory.htm"
|
|
|
+#define URL_SEARCH @"https://erp.homelegance.com/isales/search.htm"
|
|
|
+#define URL_ITEM_SEARCH @"https://erp.homelegance.com/isales/itemSearch.htm"
|
|
|
+#define URL_CATEGORY_LOADMORE @"https://erp.homelegance.com/isales/categoryMore.htm"
|
|
|
|
|
|
|
|
|
|
|
|
-#define URL_ORDER_LIST @"http://207.140.24.83/isales/orderList.htm"
|
|
|
-#define URL_ORDER_DETAIL @"http://207.140.24.83/isales/orderDetail.htm"
|
|
|
-#define URL_COMMIT_ORDER @"http://207.140.24.83/isales/createOrder.htm"
|
|
|
-#define URL_SAVE_ORDER @"http://207.140.24.83/isales/saveOrder.htm"
|
|
|
-#define URL_UPDATE_ORDERCUSTOMER @"http://207.140.24.83/isales/updateOrderCustomerInfo.htm"
|
|
|
-#define URL_NEW_ORDER @"http://207.140.24.83/isales/createNewOrder.htm"
|
|
|
-#define URL_OPEN_ORDER @"http://207.140.24.83/isales/openOrder.htm"
|
|
|
-#define URL_RELEASE_ORDER @"http://207.140.24.83/isales/closeOrder.htm"
|
|
|
-#define URL_DELETE_ORDER @"http://207.140.24.83/isales/deleteOrder.htm"
|
|
|
-#define URL_CANCEL_ORDER @"http://207.140.24.83/isales/cancelOrder.htm"
|
|
|
+#define URL_ORDER_LIST @"https://erp.homelegance.com/isales/orderList.htm"
|
|
|
+#define URL_ORDER_DETAIL @"https://erp.homelegance.com/isales/orderDetail.htm"
|
|
|
+#define URL_COMMIT_ORDER @"https://erp.homelegance.com/isales/createOrder.htm"
|
|
|
+#define URL_SAVE_ORDER @"https://erp.homelegance.com/isales/saveOrder.htm"
|
|
|
+#define URL_UPDATE_ORDERCUSTOMER @"https://erp.homelegance.com/isales/updateOrderCustomerInfo.htm"
|
|
|
+#define URL_NEW_ORDER @"https://erp.homelegance.com/isales/createNewOrder.htm"
|
|
|
+#define URL_OPEN_ORDER @"https://erp.homelegance.com/isales/openOrder.htm"
|
|
|
+#define URL_RELEASE_ORDER @"https://erp.homelegance.com/isales/closeOrder.htm"
|
|
|
+#define URL_DELETE_ORDER @"https://erp.homelegance.com/isales/deleteOrder.htm"
|
|
|
+#define URL_CANCEL_ORDER @"https://erp.homelegance.com/isales/cancelOrder.htm"
|
|
|
|
|
|
|
|
|
-#define URL_CART_SET_PRICE @"http://207.140.24.83/isales/setPrice.htm"
|
|
|
-#define URL_CART_INCRESEMENT @"http://207.140.24.83/isales/increment.htm"
|
|
|
-#define URL_CART @"http://207.140.24.83/isales/cartDtail.htm"
|
|
|
-#define URL_CARTDELIVERY @"http://207.140.24.83/isales/cartDelivery.htm"
|
|
|
-#define URL_ADD_TO_CART @"http://207.140.24.83/isales/addToCart.htm"
|
|
|
-#define URL_CART_REMOVE @"http://207.140.24.83/isales/deleteToCart.htm"
|
|
|
-#define URL_CART_CHECK @"http://207.140.24.83/isales/checkCartItem.htm"
|
|
|
+#define URL_CART_SET_PRICE @"https://erp.homelegance.com/isales/setPrice.htm"
|
|
|
+#define URL_CART_INCRESEMENT @"https://erp.homelegance.com/isales/increment.htm"
|
|
|
+#define URL_CART @"https://erp.homelegance.com/isales/cartDtail.htm"
|
|
|
+#define URL_CARTDELIVERY @"https://erp.homelegance.com/isales/cartDelivery.htm"
|
|
|
+#define URL_ADD_TO_CART @"https://erp.homelegance.com/isales/addToCart.htm"
|
|
|
+#define URL_CART_REMOVE @"https://erp.homelegance.com/isales/deleteToCart.htm"
|
|
|
+#define URL_CART_CHECK @"https://erp.homelegance.com/isales/checkCartItem.htm"
|
|
|
|
|
|
-#define URL_CART2WISH @"http://207.140.24.83/isales/cartRemoveToWishlist.htm"
|
|
|
-#define URL_WISH2CART @"http://207.140.24.83/isales/wishlistRemoveToCart.htm"
|
|
|
+#define URL_CART2WISH @"https://erp.homelegance.com/isales/cartRemoveToWishlist.htm"
|
|
|
+#define URL_WISH2CART @"https://erp.homelegance.com/isales/wishlistRemoveToCart.htm"
|
|
|
|
|
|
-#define URL_ITEM_DETAIL @"http://207.140.24.83/isales/modelDetail.htm"
|
|
|
+#define URL_ITEM_DETAIL @"https://erp.homelegance.com/isales/modelDetail.htm"
|
|
|
|
|
|
-#define URL_ADD_TO_WATCHLIST @"http://207.140.24.83/isales/addToWishList.htm"
|
|
|
-#define URL_WATCHLIST @"http://207.140.24.83/isales/wishList.htm"
|
|
|
-#define URL_WATCHLIST_REMOVE @"http://207.140.24.83/isales/deleteToWishList.htm"
|
|
|
+#define URL_ADD_TO_WATCHLIST @"https://erp.homelegance.com/isales/addToWishList.htm"
|
|
|
+#define URL_WATCHLIST @"https://erp.homelegance.com/isales/wishList.htm"
|
|
|
+#define URL_WATCHLIST_REMOVE @"https://erp.homelegance.com/isales/deleteToWishList.htm"
|
|
|
|
|
|
|
|
|
|
|
|
-#define URL_ADD_TO_PORTFOLIO @"http://207.140.24.83/isales/addToPortfolio.htm"
|
|
|
-#define URL_PORTFOLIO_REMOVE @"http://207.140.24.83/isales/deleteToPortfolio.htm"
|
|
|
-#define URL_PORTFOLIO @"http://207.140.24.83/isales/portfolios.htm"
|
|
|
-#define URL_PORTFOLIO_SET_PRICE @"http://207.140.24.83/isales/setTearSheetPrice.htm"
|
|
|
-#define URL_DM_PARAMS @"http://207.140.24.83/isales/selectTearSheetParam.htm"
|
|
|
-#define URL_REQUEST_DM @"http://207.140.24.83/isales/getTearSheetPdf.htm"
|
|
|
-#define URL_SAVE_DM_DIRECT @"http://207.140.24.83/isales/getTearSheetPdf.htm"
|
|
|
-#define URL_SAVE_DM @"http://207.140.24.83/isales/saveTearSheetPdf.htm"
|
|
|
-#define URL_DM_LIST @"http://207.140.24.83/isales/tearSheetPdfList.htm"
|
|
|
-//#define URL_DM_SET_QTY @"http://207.140.24.83/isales/setTearSheetAvailableQty.htm"
|
|
|
-#define URL_REQUEST_MODEL_QTY @"http://207.140.24.83/isales/getTearSheetAvailableQty.htm"
|
|
|
+#define URL_ADD_TO_PORTFOLIO @"https://erp.homelegance.com/isales/addToPortfolio.htm"
|
|
|
+#define URL_PORTFOLIO_REMOVE @"https://erp.homelegance.com/isales/deleteToPortfolio.htm"
|
|
|
+#define URL_PORTFOLIO @"https://erp.homelegance.com/isales/portfolios.htm"
|
|
|
+#define URL_PORTFOLIO_SET_PRICE @"https://erp.homelegance.com/isales/setTearSheetPrice.htm"
|
|
|
+#define URL_DM_PARAMS @"https://erp.homelegance.com/isales/selectTearSheetParam.htm"
|
|
|
+#define URL_REQUEST_DM @"https://erp.homelegance.com/isales/getTearSheetPdf.htm"
|
|
|
+#define URL_SAVE_DM_DIRECT @"https://erp.homelegance.com/isales/getTearSheetPdf.htm"
|
|
|
+#define URL_SAVE_DM @"https://erp.homelegance.com/isales/saveTearSheetPdf.htm"
|
|
|
+#define URL_DM_LIST @"https://erp.homelegance.com/isales/tearSheetPdfList.htm"
|
|
|
+//#define URL_DM_SET_QTY @"https://erp.homelegance.com/isales/setTearSheetAvailableQty.htm"
|
|
|
+#define URL_REQUEST_MODEL_QTY @"https://erp.homelegance.com/isales/getTearSheetAvailableQty.htm"
|
|
|
|
|
|
|
|
|
-#define URL_CONTACT_LIST @"http://207.140.24.83/isales/getAllContact.htm"
|
|
|
-#define URL_SHIPTO_LIST @"http://207.140.24.83/isales/getShipToContact.htm"
|
|
|
+#define URL_CONTACT_LIST @"https://erp.homelegance.com/isales/getAllContact.htm"
|
|
|
+#define URL_SHIPTO_LIST @"https://erp.homelegance.com/isales/getShipToContact.htm"
|
|
|
|
|
|
-#define URL_ADDRESS_EDOTOR @"http://207.140.24.83/isales/getAddAddress.htm"
|
|
|
-#define URL_ADDRESS_SAVE @"http://207.140.24.83/isales/saveAddress.htm"
|
|
|
+#define URL_ADDRESS_EDOTOR @"https://erp.homelegance.com/isales/getAddAddress.htm"
|
|
|
+#define URL_ADDRESS_SAVE @"https://erp.homelegance.com/isales/saveAddress.htm"
|
|
|
|
|
|
|
|
|
-#define URL_CREDITCARD_EDOTOR @"http://207.140.24.83/isales/creditCard.htm"
|
|
|
-#define URL_CREDITCARD_SAVE @"http://207.140.24.83/isales/saveAddress.htm"
|
|
|
+#define URL_CREDITCARD_EDOTOR @"https://erp.homelegance.com/isales/creditCard.htm"
|
|
|
+#define URL_CREDITCARD_SAVE @"https://erp.homelegance.com/isales/saveAddress.htm"
|
|
|
|
|
|
|
|
|
|
|
|
-#define URL_CUSTOMER_INFO @"http://207.140.24.83/isales/getCustomerInfoByContact.htm"
|
|
|
-#define URL_NEW_CUSTOMER @"http://207.140.24.83/isales/getAddCustomer.htm"
|
|
|
-#define URL_CUSTOMER_SAVE @"http://207.140.24.83/isales/saveCustomer.htm"
|
|
|
-#define URL_UPDATE_CUSTOMER_BCARD @"http://207.140.24.83/isales/updateCustomerBusiCard.htm"
|
|
|
+#define URL_CUSTOMER_INFO @"https://erp.homelegance.com/isales/getCustomerInfoByContact.htm"
|
|
|
+#define URL_NEW_CUSTOMER @"https://erp.homelegance.com/isales/getAddCustomer.htm"
|
|
|
+#define URL_CUSTOMER_SAVE @"https://erp.homelegance.com/isales/saveCustomer.htm"
|
|
|
+#define URL_UPDATE_CUSTOMER_BCARD @"https://erp.homelegance.com/isales/updateCustomerBusiCard.htm"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#define URL_ERR_LOG @"http://207.140.24.83/isales/er_log.htm"
|
|
|
+#define URL_ERR_LOG @"https://erp.homelegance.com/isales/er_log.htm"
|
|
|
|
|
|
-#define URL_UPLOAD_IMG @"http://207.140.24.83/isales/uploadImg.htm"
|
|
|
+#define URL_UPLOAD_IMG @"https://erp.homelegance.com/isales/uploadImg.htm"
|
|
|
|
|
|
-#define URL_COPY_ORDER @"http://207.140.24.83/isales/copyOrder.htm"
|
|
|
-#define URL_SIGN_ORDER @"http://207.140.24.83/isales/updateOrderSign.htm"
|
|
|
-#define URL_CUSTOMER_UPDATE @"http://207.140.24.83/isales/updateCustomer.htm"
|
|
|
-#define URL_CART_GENERAL_NOTES @"http://207.140.24.83/isales/updateGeneralNote.htm"
|
|
|
-#define URL_CART_ITEM_NOTES @"http://207.140.24.83/isales/setItemNotes.htm"
|
|
|
-#define URL_EDIT_CUSTOMER @"http://207.140.24.83/isales/getUpdateCustomerInfoByContact.htm"
|
|
|
-#define URL_CUSTOMER_PENDINGORDER @"http://207.140.24.83/isales/hasPendingOrderByContact.htm"
|
|
|
-#define URL_PORTFOLIOLIST_REMOVE @"http://207.140.24.83/isales/deleteTearSheetPdf.htm"
|
|
|
-#define URL_NPD_POLICY @"http://207.140.24.83/isales/generalPolicy.htm"
|
|
|
-#define URL_CUSTOMER_ADV_SEARCH @"http://207.140.24.83/isales/getContactAdvance.htm"
|
|
|
+#define URL_COPY_ORDER @"https://erp.homelegance.com/isales/copyOrder.htm"
|
|
|
+#define URL_SIGN_ORDER @"https://erp.homelegance.com/isales/updateOrderSign.htm"
|
|
|
+#define URL_CUSTOMER_UPDATE @"https://erp.homelegance.com/isales/updateCustomer.htm"
|
|
|
+#define URL_CART_GENERAL_NOTES @"https://erp.homelegance.com/isales/updateGeneralNote.htm"
|
|
|
+#define URL_CART_ITEM_NOTES @"https://erp.homelegance.com/isales/setItemNotes.htm"
|
|
|
+#define URL_EDIT_CUSTOMER @"https://erp.homelegance.com/isales/getUpdateCustomerInfoByContact.htm"
|
|
|
+#define URL_CUSTOMER_PENDINGORDER @"https://erp.homelegance.com/isales/hasPendingOrderByContact.htm"
|
|
|
+#define URL_PORTFOLIOLIST_REMOVE @"https://erp.homelegance.com/isales/deleteTearSheetPdf.htm"
|
|
|
+#define URL_NPD_POLICY @"https://erp.homelegance.com/isales/generalPolicy.htm"
|
|
|
+#define URL_CUSTOMER_ADV_SEARCH @"https://erp.homelegance.com/isales/getContactAdvance.htm"
|
|
|
|
|
|
#define URL_CHECK_OFFLINE @"http://192.168.1.3/check.htm"
|
|
|
|