// // config.h // RedAnt ERP Mobile // // Created by Ray on 14-6-20. // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved. // #ifndef RedAnt_ERP_Mobile_config_h #define RedAnt_ERP_Mobile_config_h #define BUILD_HOMER #define APP_NAME @"HOMER APP" #define COMPANY_SHORT_NAME @"HOMER" #define COMPANY_NAME @"HOMELEGANCE LA, INC." #define COMPANY_INFO @"Sales: homerica@homelegance.com\nPhone: 562-903-5668" #define COMPANY_WEB @"https://shopla.homelegance.com" #define COMPANY_FULL_NAME @"HOMELEGANCE LA, INC." #define MPACK # ifdef DEBUG //#define test_server # endif #define exception_switch 1 #define notifyMe_switch 1 //#define ab_lager @"Delivery price" #define flat_price @"MSRP" #define given_price @"store price" #import "RASingleton.h" #define PDF_DEBUG false //#define ENCRYPT_OFF #define CONTACT_LIST 1 #define LOCAL_URL_CUSTOMER_INFO_EDITOR @"customer_info_template" #define LOCAL_URL_CUSTOMER_INFO_EDIT @"customer_info_template_edit" //http://12.196.120.217 //http://192.168.0.133:8080/site #ifdef test_server //------------------- chen server----------------------- #define URL_BACK_ORDER_PREVIEW @"" #define URL_MOVE_TO_BACK_ORDER @"" #define URL_UPDATE_AUTH @"http://192.168.0.133/pj/isales/login.htm" #define URL_LOGOUT @"http://192.168.0.133/pj/isales/loginOut.htm" #define URL_RETRIEVE_PASS @"http://192.168.0.133/pj/isales/forgotPassword.htm" #define URL_REQUEST_CATMENU @"http://192.168.0.133/pj/isales/menu.htm" #define URL_LOAD_HOME @"http://192.168.0.133/pj/isales/homePage.htm" #define URL_CATEGORY @"http://192.168.0.133/pj/isales/distinctCategory.htm" #define URL_SEARCH @"http://192.168.0.133/pj/isales/search.htm" #define URL_ITEM_SEARCH @"http://192.168.0.133/pj/isales/itemSearch.htm" #define URL_CATEGORY_LOADMORE @"http://192.168.0.133/pj/isales/categoryMore.htm" #define URL_CUSTOMER_ADV_SEARCH @"http://192.168.0.133/pj/isales/getContactAdvance.htm" #define URL_ORDER_LIST @"http://192.168.0.133/pj/isales/orderList.htm" #define URL_ORDER_DETAIL @"http://192.168.0.133/pj/isales/orderDetail.htm" #define URL_COMMIT_ORDER @"http://192.168.0.133/pj/isales/createOrder.htm" #define URL_COPY_ORDER @"http://192.168.0.133/pj/isales/copyOrder.htm" #define URL_SIGN_ORDER @"http://192.168.0.133/pj/isales/updateOrderSign.htm" #define URL_SAVE_ORDER @"http://192.168.0.133/pj/isales/saveOrder.htm" #define URL_UPDATE_ORDERCUSTOMER @"http://192.168.0.133/pj/isales/updateOrderCustomerInfo.htm" #define URL_NEW_ORDER @"http://192.168.0.133/pj/isales/createNewOrder.htm" #define URL_OPEN_ORDER @"http://192.168.0.133/pj/isales/openOrder.htm" #define URL_RELEASE_ORDER @"http://192.168.0.133/pj/isales/closeOrder.htm" #define URL_DELETE_ORDER @"http://192.168.0.133/pj/isales/deleteOrder.htm" #define URL_CANCEL_ORDER @"http://192.168.0.133/pj/isales/cancelOrder.htm" #define URL_CART_SET_PRICE @"http://192.168.0.133/pj/isales/setPrice.htm" #define URL_CART_ITEM_NOTES @"http://192.168.0.133/pj/isales/setItemNotes.htm" #define URL_CART_GENERAL_NOTES @"http://192.168.0.133/pj/isales/updateGeneralNote.htm" #define URL_CART_INCRESEMENT @"http://192.168.0.133/pj/isales/increment.htm" #define URL_CART @"http://192.168.0.133/pj/isales/cartDtail.htm" #define URL_CARTDELIVERY @"http://192.168.0.133/pj/isales/cartDelivery.htm" #define URL_ADD_TO_CART @"http://192.168.0.133/pj/isales/addToCart.htm" #define URL_CART_REMOVE @"http://192.168.0.133/pj/isales/deleteToCart.htm" #define URL_CART_CHECK @"http://192.168.0.133/pj/isales/checkCartItem.htm" #define URL_CART2WISH @"http://192.168.0.133/pj/isales/cartRemoveToWishlist.htm" #define URL_WISH2CART @"http://192.168.0.133/pj/isales/wishlistRemoveToCart.htm" #define URL_CATEGORYADDALL @"http://192.168.0.133/pj/isales/categoryAddAllTo.htm" #define URL_SEARCHADDALL @"http://192.168.0.133/pj/isales/searchAddAllTo.htm" #define URL_ITEMSEARCHADDALL @"http://192.168.0.133/pj/isales/itemSearchAddAllTo.htm" #define URL_ITEM_DETAIL @"http://192.168.0.133/pj/isales/modelDetail.htm" #define URL_ADD_TO_WATCHLIST @"http://192.168.0.133/pj/isales/addToWishList.htm" #define URL_WATCHLIST @"http://192.168.0.133/pj/isales/wishList.htm" #define URL_WATCHLIST_REMOVE @"http://192.168.0.133/pj/isales/deleteToWishList.htm" #define URL_ADD_TO_PORTFOLIO @"http://192.168.0.133/pj/isales/addToPortfolio.htm" #define URL_PORTFOLIO_REMOVE @"http://192.168.0.133/pj/isales/deleteToPortfolio.htm" #define URL_PORTFOLIOLIST_REMOVE @"http://192.168.0.133/pj/isales/deleteTearSheetPdf.htm" #define URL_PORTFOLIO @"http://192.168.0.133/pj/isales/portfolios.htm" #define URL_PORTFOLIO_SET_PRICE @"http://192.168.0.133/pj/isales/setTearSheetPrice.htm" #define URL_DM_PARAMS @"http://192.168.0.133/pj/isales/selectTearSheetParam.htm" #define URL_REQUEST_DM @"http://192.168.0.133/pj/isales/getTearSheetPdf.htm" #define URL_SAVE_DM_DIRECT @"http://192.168.0.133/pj/isales/getTearSheetPdf.htm" #define URL_SAVE_DM @"http://192.168.0.133/pj/isales/saveTearSheetPdf.htm" #define URL_DM_LIST @"http://192.168.0.133/pj/isales/tearSheetPdfList.htm" //#define URL_DM_SET_QTY @"http://192.168.0.133/pj/isales/setTearSheetAvailableQty.htm" #define URL_REQUEST_MODEL_QTY @"http://192.168.0.133/pj/isales/getTearSheetAvailableQty.htm" #define URL_CONTACT_LIST @"http://192.168.0.133/pj/isales/getAllContact.htm" #define URL_SHIPTO_LIST @"http://192.168.0.133/pj/isales/getShipToContact.htm" #define URL_ADDRESS_EDOTOR @"http://192.168.0.133/pj/isales/getAddAddress.htm" #define URL_ADDRESS_SAVE @"http://192.168.0.133/pj/isales/saveAddress.htm" #define URL_CREDITCARD_EDOTOR @"http://192.168.0.133/pj/isales/creditCard.htm" #define URL_CREDITCARD_SAVE @"http://192.168.0.133/pj/isales/saveAddress.htm" #define URL_CUSTOMER_INFO @"http://192.168.0.133/pj/isales/getCustomerInfoByContact.htm" #define URL_CUSTOMER_PENDINGORDER @"http://192.168.0.133/pj/isales/hasPendingOrderByContact.htm" #define URL_NEW_CUSTOMER @"http://192.168.0.133/pj/isales/getAddCustomer.htm" #define URL_EDIT_CUSTOMER @"http://192.168.0.133/pj/isales/getUpdateCustomerInfoByContact.htm" #define URL_CUSTOMER_SAVE @"http://192.168.0.133/pj/isales/saveCustomer.htm" #define URL_CUSTOMER_UPDATE @"http://192.168.0.133/pj/isales/updateCustomer.htm" #define URL_UPDATE_CUSTOMER_BCARD @"http://192.168.0.133/pj/isales/updateCustomerBusiCard.htm" #define URL_ERR_LOG @"http://192.168.0.133/pj/isales/er_log.htm" #define URL_UPLOAD_IMG @"http://192.168.0.133/pj/isales/uploadImg.htm" #define URL_NPD_POLICY @"http://192.168.0.133/pj/isales/generalPolicy.htm" #define URL_CHECK_OFFLINE @"http://192.168.0.133/pj/offline/initDatas.htm" #define URL_UPLOAD_OFFLINE @"http://192.168.0.133/pj/offline/uploadOfflineData.htm" #define URL_DOWNLOAD_OFFLINE @"http://192.168.0.133/pj/offline/downloadDatas.htm" #define URL_FINISH_DOWNLOAD_OFFLINE @"http://192.168.0.133/pj/offline/confirmVersion.htm" #define URL_GET_RESULT @"http://192.168.0.133/pj/offline/getResultBySerial.htm" #define URL_SET_PRICE_TYPE @"http://192.168.0.133/pj/isales/setSeePriceType.htm" #define URL_GET_CIVEN_PRICE @"http://192.168.0.133/pj/isales/getSeeGivenPrice.htm" #define URL_SET_GIVEN_PRICE @"http://192.168.0.133/pj/isales/setSeeGivenPrice.htm" #define URL_SET_MERGE_ORDER @"http://192.168.0.133/pj/isales/mergeOrder.htm" #define URL_REQUEST_LOGIN @"http://192.168.0.133/pj/isales/requestLogin.htm" #define URL_EMAIL_CART @"http://192.168.0.133/pj/isales/sendCartEmail.htm" #define URL_NOTIFY_ME @"http://192.168.0.133/pj/isales/notifyMeEmail.htm" #define URL_EMAIL_WISHLIST @"http://192.168.0.133/pj/isales/sendWishListEmail.htm" #define URL_BLOG @"http://192.168.0.133/pj/blog" #define URL_PRIVACY @"" #else //------------------- NPD server----------------------- #define URL_BACK_ORDER_PREVIEW @"" #define URL_MOVE_TO_BACK_ORDER @"" #define URL_UPDATE_AUTH @"https://shopla.homelegance.com/isales/login.htm" #define URL_LOGOUT @"https://shopla.homelegance.com/isales/loginOut.htm" #define URL_RETRIEVE_PASS @"https://shopla.homelegance.com/isales/forgotPassword.htm" #define URL_REQUEST_CATMENU @"https://shopla.homelegance.com/isales/menu.htm" #define URL_LOAD_HOME @"https://shopla.homelegance.com/isales/homePage.htm" #define URL_CATEGORY @"https://shopla.homelegance.com/isales/distinctCategory.htm" #define URL_SEARCH @"https://shopla.homelegance.com/isales/search.htm" #define URL_ITEM_SEARCH @"https://shopla.homelegance.com/isales/itemSearch.htm" #define URL_CATEGORY_LOADMORE @"https://shopla.homelegance.com/isales/categoryMore.htm" #define URL_ORDER_LIST @"https://shopla.homelegance.com/isales/orderList.htm" #define URL_ORDER_DETAIL @"https://shopla.homelegance.com/isales/orderDetail.htm" #define URL_COMMIT_ORDER @"https://shopla.homelegance.com/isales/createOrder.htm" #define URL_SAVE_ORDER @"https://shopla.homelegance.com/isales/saveOrder.htm" #define URL_UPDATE_ORDERCUSTOMER @"https://shopla.homelegance.com/isales/updateOrderCustomerInfo.htm" #define URL_NEW_ORDER @"https://shopla.homelegance.com/isales/createNewOrder.htm" #define URL_OPEN_ORDER @"https://shopla.homelegance.com/isales/openOrder.htm" #define URL_RELEASE_ORDER @"https://shopla.homelegance.com/isales/closeOrder.htm" #define URL_DELETE_ORDER @"https://shopla.homelegance.com/isales/deleteOrder.htm" #define URL_CANCEL_ORDER @"https://shopla.homelegance.com/isales/cancelOrder.htm" #define URL_CART_SET_PRICE @"https://shopla.homelegance.com/isales/setPrice.htm" #define URL_CART_INCRESEMENT @"https://shopla.homelegance.com/isales/increment.htm" #define URL_CART @"https://shopla.homelegance.com/isales/cartDtail.htm" #define URL_CARTDELIVERY @"https://shopla.homelegance.com/isales/cartDelivery.htm" #define URL_ADD_TO_CART @"https://shopla.homelegance.com/isales/addToCart.htm" #define URL_CART_REMOVE @"https://shopla.homelegance.com/isales/deleteToCart.htm" #define URL_CART_CHECK @"https://shopla.homelegance.com/isales/checkCartItem.htm" #define URL_CART2WISH @"https://shopla.homelegance.com/isales/cartRemoveToWishlist.htm" #define URL_WISH2CART @"https://shopla.homelegance.com/isales/wishlistRemoveToCart.htm" #define URL_ITEM_DETAIL @"https://shopla.homelegance.com/isales/modelDetail.htm" #define URL_ADD_TO_WATCHLIST @"https://shopla.homelegance.com/isales/addToWishList.htm" #define URL_WATCHLIST @"https://shopla.homelegance.com/isales/wishList.htm" #define URL_WATCHLIST_REMOVE @"https://shopla.homelegance.com/isales/deleteToWishList.htm" #define URL_ADD_TO_PORTFOLIO @"https://shopla.homelegance.com/isales/addToPortfolio.htm" #define URL_PORTFOLIO_REMOVE @"https://shopla.homelegance.com/isales/deleteToPortfolio.htm" #define URL_PORTFOLIO @"https://shopla.homelegance.com/isales/portfolios.htm" #define URL_PORTFOLIO_SET_PRICE @"https://shopla.homelegance.com/isales/setTearSheetPrice.htm" #define URL_DM_PARAMS @"https://shopla.homelegance.com/isales/selectTearSheetParam.htm" #define URL_REQUEST_DM @"https://shopla.homelegance.com/isales/getTearSheetPdf.htm" #define URL_SAVE_DM_DIRECT @"https://shopla.homelegance.com/isales/getTearSheetPdf.htm" #define URL_SAVE_DM @"https://shopla.homelegance.com/isales/saveTearSheetPdf.htm" #define URL_DM_LIST @"https://shopla.homelegance.com/isales/tearSheetPdfList.htm" //#define URL_DM_SET_QTY @"https://shopla.homelegance.com/isales/setTearSheetAvailableQty.htm" #define URL_REQUEST_MODEL_QTY @"https://shopla.homelegance.com/isales/getTearSheetAvailableQty.htm" #define URL_CONTACT_LIST @"https://shopla.homelegance.com/isales/getAllContact.htm" #define URL_SHIPTO_LIST @"https://shopla.homelegance.com/isales/getShipToContact.htm" #define URL_ADDRESS_EDOTOR @"https://shopla.homelegance.com/isales/getAddAddress.htm" #define URL_ADDRESS_SAVE @"https://shopla.homelegance.com/isales/saveAddress.htm" #define URL_CREDITCARD_EDOTOR @"https://shopla.homelegance.com/isales/creditCard.htm" #define URL_CREDITCARD_SAVE @"https://shopla.homelegance.com/isales/saveAddress.htm" #define URL_CUSTOMER_INFO @"https://shopla.homelegance.com/isales/getCustomerInfoByContact.htm" #define URL_NEW_CUSTOMER @"https://shopla.homelegance.com/isales/getAddCustomer.htm" #define URL_CUSTOMER_SAVE @"https://shopla.homelegance.com/isales/saveCustomer.htm" #define URL_UPDATE_CUSTOMER_BCARD @"https://shopla.homelegance.com/isales/updateCustomerBusiCard.htm" #define URL_CUSTOMER_ADV_SEARCH @"https://shopla.homelegance.com/isales/getContactAdvance.htm" #define URL_ERR_LOG @"https://shopla.homelegance.com/isales/er_log.htm" #define URL_UPLOAD_IMG @"https://shopla.homelegance.com/isales/uploadImg.htm" #define URL_COPY_ORDER @"https://shopla.homelegance.com/isales/copyOrder.htm" #define URL_SIGN_ORDER @"https://shopla.homelegance.com/isales/updateOrderSign.htm" #define URL_CUSTOMER_UPDATE @"https://shopla.homelegance.com/isales/updateCustomer.htm" #define URL_CART_GENERAL_NOTES @"https://shopla.homelegance.com/isales/updateGeneralNote.htm" #define URL_CART_ITEM_NOTES @"https://shopla.homelegance.com/isales/setItemNotes.htm" #define URL_EDIT_CUSTOMER @"https://shopla.homelegance.com/isales/getUpdateCustomerInfoByContact.htm" #define URL_CUSTOMER_PENDINGORDER @"https://shopla.homelegance.com/isales/hasPendingOrderByContact.htm" #define URL_PORTFOLIOLIST_REMOVE @"https://shopla.homelegance.com/isales/deleteTearSheetPdf.htm" #define URL_NPD_POLICY @"https://shopla.homelegance.com/isales/generalPolicy.htm" #define URL_CHECK_OFFLINE @"https://shopla.homelegance.com/offline/initDatas.htm" #define URL_DOWNLOAD_OFFLINE @"https://shopla.homelegance.com/offline/downloadDatas.htm" #define URL_FINISH_DOWNLOAD_OFFLINE @"https://shopla.homelegance.com/offline/confirmVersion.htm" #define URL_UPLOAD_OFFLINE @"https://shopla.homelegance.com/offline/uploadOfflineData.htm" #define URL_CATEGORYADDALL @"https://shopla.homelegance.com/isales/categoryAddAllTo.htm" #define URL_SEARCHADDALL @"https://shopla.homelegance.com/isales/searchAddAllTo.htm" #define URL_ITEMSEARCHADDALL @"https://shopla.homelegance.com/isales/itemSearchAddAllTo.htm" #define URL_SET_PRICE_TYPE @"https://shopla.homelegance.com/isales/setSeePriceType.htm" #define URL_GET_CIVEN_PRICE @"https://shopla.homelegance.com/isales/getSeeGivenPrice.htm" #define URL_SET_GIVEN_PRICE @"https://shopla.homelegance.com/isales/setSeeGivenPrice.htm" #define URL_SET_MERGE_ORDER @"https://shopla.homelegance.com/isales/mergeOrder.htm" #define URL_REQUEST_LOGIN @"https://shopla.homelegance.com/isales/requestLogin.htm" #define URL_EMAIL_CART @"https://shopla.homelegance.com/isales/sendCartEmail.htm" #define URL_NOTIFY_ME @"https://shopla.homelegance.com/isales/notifyMeEmail.htm" #define URL_EMAIL_WISHLIST @"https://shopla.homelegance.com/isales/sendWishListEmail.htm" #define URL_BLOG @"https://shopla.homelegance.com/blog" #define URL_PRIVACY @"" #endif #endif /* */