config.h 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. //
  2. // config.h
  3. // RedAnt ERP Mobile
  4. //
  5. // Created by Ray on 14-6-20.
  6. // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
  7. //
  8. #ifndef RedAnt_ERP_Mobile_config_h
  9. #define RedAnt_ERP_Mobile_config_h
  10. #define CONTACT_LIST 1
  11. #define LOCAL_URL_CUSTOMER_INFO_EDITOR @"customer_info_template"
  12. #define LOCAL_URL_CUSTOMER_INFO_EDIT @"customer_info_template_edit"
  13. #define LOCAL_URL_CUSTOMER_ADV_SEARCH @"customer_advanced_search"
  14. //------------------- chen server-----------------------
  15. #define URL_UPDATE_AUTH @"http://192.168.0.119:8080/site/isales/login.htm"
  16. #define URL_LOGOUT @"http://192.168.0.119:8080/site/isales/loginOut.htm"
  17. #define URL_RETRIEVE_PASS @"http://192.168.0.119:8080/site/isales/forgotPassword.htm"
  18. #define URL_REQUEST_CATMENU @"http://192.168.0.119:8080/site/isales/menu.htm"
  19. #define URL_LOAD_HOME @"http://192.168.0.119:8080/site/isales/homePage.htm"
  20. #define URL_CATEGORY @"http://192.168.0.119:8080/site/isales/distinctCategory.htm"
  21. #define URL_SEARCH @"http://192.168.0.119:8080/site/isales/search.htm"
  22. #define URL_ITEM_SEARCH @"http://192.168.0.119:8080/site/isales/itemSearch.htm"
  23. #define URL_CATEGORY_LOADMORE @"http://192.168.0.119:8080/site/isales/categoryMore.htm"
  24. #define URL_ORDER_LIST @"http://192.168.0.119:8080/site/isales/orderList.htm"
  25. #define URL_ORDER_DETAIL @"http://192.168.0.119:8080/site/isales/orderDetail.htm"
  26. #define URL_COMMIT_ORDER @"http://192.168.0.119:8080/site/isales/createOrder.htm"
  27. #define URL_COPY_ORDER @"http://192.168.0.119:8080/site/isales/copyOrder.htm"
  28. #define URL_SIGN_ORDER @"http://192.168.0.119:8080/site/isales/updateOrderSign.htm"
  29. #define URL_SAVE_ORDER @"http://192.168.0.119:8080/site/isales/saveOrder.htm"
  30. #define URL_UPDATE_ORDERCUSTOMER @"http://192.168.0.119:8080/site/isales/updateOrderCustomerInfo.htm"
  31. #define URL_NEW_ORDER @"http://192.168.0.119:8080/site/isales/createNewOrder.htm"
  32. #define URL_OPEN_ORDER @"http://192.168.0.119:8080/site/isales/openOrder.htm"
  33. #define URL_RELEASE_ORDER @"http://192.168.0.119:8080/site/isales/closeOrder.htm"
  34. #define URL_DELETE_ORDER @"http://192.168.0.119:8080/site/isales/deleteOrder.htm"
  35. #define URL_CANCEL_ORDER @"http://192.168.0.119:8080/site/isales/cancelOrder.htm"
  36. #define URL_CART_SET_PRICE @"http://192.168.0.119:8080/site/isales/setPrice.htm"
  37. #define URL_CART_ITEM_NOTES @"http://192.168.0.119:8080/site/isales/setItemNotes.htm"
  38. #define URL_CART_GENERAL_NOTES @"http://192.168.0.119:8080/site/isales/updateGeneralNote.htm"
  39. #define URL_CART_INCRESEMENT @"http://192.168.0.119:8080/site/isales/increment.htm"
  40. #define URL_CART @"http://192.168.0.119:8080/site/isales/cartDtail.htm"
  41. #define URL_CARTDELIVERY @"http://192.168.0.119:8080/site/isales/cartDelivery.htm"
  42. #define URL_ADD_TO_CART @"http://192.168.0.119:8080/site/isales/addToCart.htm"
  43. #define URL_CART_REMOVE @"http://192.168.0.119:8080/site/isales/deleteToCart.htm"
  44. #define URL_CART_CHECK @"http://192.168.0.119:8080/site/isales/checkCartItem.htm"
  45. #define URL_CART2WISH @"http://192.168.0.119:8080/site/isales/cartRemoveToWishlist.htm"
  46. #define URL_WISH2CART @"http://192.168.0.119:8080/site/isales/wishlistRemoveToCart.htm"
  47. #define URL_ITEM_DETAIL @"http://192.168.0.119:8080/site/isales/modelDetail.htm"
  48. #define URL_ADD_TO_WATCHLIST @"http://192.168.0.119:8080/site/isales/addToWishList.htm"
  49. #define URL_WATCHLIST @"http://192.168.0.119:8080/site/isales/wishList.htm"
  50. #define URL_WATCHLIST_REMOVE @"http://192.168.0.119:8080/site/isales/deleteToWishList.htm"
  51. #define URL_ADD_TO_PORTFOLIO @"http://192.168.0.119:8080/site/isales/addToPortfolio.htm"
  52. #define URL_PORTFOLIO_REMOVE @"http://192.168.0.119:8080/site/isales/deleteToPortfolio.htm"
  53. #define URL_PORTFOLIO @"http://192.168.0.119:8080/site/isales/portfolios.htm"
  54. #define URL_PORTFOLIO_SET_PRICE @"http://192.168.0.119:8080/site/isales/setTearSheetPrice.htm"
  55. #define URL_DM_PARAMS @"http://192.168.0.119:8080/site/isales/selectTearSheetParam.htm"
  56. #define URL_REQUEST_DM @"http://192.168.0.119:8080/site/isales/getTearSheetPdf.htm"
  57. #define URL_SAVE_DM_DIRECT @"http://192.168.0.119:8080/site/isales/getTearSheetPdf.htm"
  58. #define URL_SAVE_DM @"http://192.168.0.119:8080/site/isales/saveTearSheetPdf.htm"
  59. #define URL_DM_LIST @"http://192.168.0.119:8080/site/isales/tearSheetPdfList.htm"
  60. #define URL_CONTACT_LIST @"http://192.168.0.119:8080/site/isales/getAllContact.htm"
  61. #define URL_SHIPTO_LIST @"http://192.168.0.119:8080/site/isales/getShipToContact.htm"
  62. #define URL_ADDRESS_EDOTOR @"http://192.168.0.119:8080/site/isales/getAddAddress.htm"
  63. #define URL_ADDRESS_SAVE @"http://192.168.0.119:8080/site/isales/saveAddress.htm"
  64. #define URL_CREDITCARD_EDOTOR @"http://192.168.0.119:8080/site/isales/creditCard.htm"
  65. #define URL_CREDITCARD_SAVE @"http://192.168.0.119:8080/site/isales/saveAddress.htm"
  66. #define URL_CUSTOMER_INFO @"http://192.168.0.119:8080/site/isales/getCustomerInfoByContact.htm"
  67. #define URL_CUSTOMER_PENDINGORDER @"http://192.168.0.119:8080/site/isales/hasPendingOrderByContact.htm"
  68. #define URL_NEW_CUSTOMER @"http://192.168.0.119:8080/site/isales/getAddCustomer.htm"
  69. #define URL_EDIT_CUSTOMER @"http://192.168.0.119:8080/site/isales/getUpdateCustomerInfoByContact.htm"
  70. #define URL_CUSTOMER_SAVE @"http://192.168.0.119:8080/site/isales/saveCustomer.htm"
  71. #define URL_CUSTOMER_UPDATE @"http://192.168.0.119:8080/site/isales/updateCustomer.htm"
  72. #define URL_UPDATE_CUSTOMER_BCARD @"http://192.168.0.119:8080/site/isales/updateCustomerBusiCard.htm"
  73. #define URL_ERR_LOG @"http://192.168.0.119:8080/site/isales/er_log.htm"
  74. #define URL_UPLOAD_IMG @"http://192.168.0.119:8080/site/isales/uploadImg.htm"
  75. //
  76. ////------------------- NPD server-----------------------
  77. //#define URL_UPDATE_AUTH @"https://www.newpacificdirect.com/isales/login.htm"
  78. //#define URL_LOGOUT @"https://www.newpacificdirect.com/isales/loginOut.htm"
  79. //#define URL_RETRIEVE_PASS @"https://www.newpacificdirect.com/isales/forgotPassword.htm"
  80. //
  81. //#define URL_REQUEST_CATMENU @"https://www.newpacificdirect.com/isales/menu.htm"
  82. //#define URL_LOAD_HOME @"https://www.newpacificdirect.com/isales/homePage.htm"
  83. //#define URL_CATEGORY @"https://www.newpacificdirect.com/isales/distinctCategory.htm"
  84. //#define URL_SEARCH @"https://www.newpacificdirect.com/isales/search.htm"
  85. //#define URL_ITEM_SEARCH @"https://www.newpacificdirect.com/isales/itemSearch.htm"
  86. //#define URL_CATEGORY_LOADMORE @"https://www.newpacificdirect.com/isales/categoryMore.htm"
  87. //
  88. //
  89. //
  90. //#define URL_ORDER_LIST @"https://www.newpacificdirect.com/isales/orderList.htm"
  91. //#define URL_ORDER_DETAIL @"https://www.newpacificdirect.com/isales/orderDetail.htm"
  92. //#define URL_COMMIT_ORDER @"https://www.newpacificdirect.com/isales/createOrder.htm"
  93. //#define URL_SAVE_ORDER @"https://www.newpacificdirect.com/isales/saveOrder.htm"
  94. //#define URL_UPDATE_ORDERCUSTOMER @"https://www.newpacificdirect.com/isales/updateOrderCustomerInfo.htm"
  95. //#define URL_NEW_ORDER @"https://www.newpacificdirect.com/isales/createNewOrder.htm"
  96. //#define URL_OPEN_ORDER @"https://www.newpacificdirect.com/isales/openOrder.htm"
  97. //#define URL_RELEASE_ORDER @"https://www.newpacificdirect.com/isales/closeOrder.htm"
  98. //#define URL_DELETE_ORDER @"https://www.newpacificdirect.com/isales/deleteOrder.htm"
  99. //#define URL_CANCEL_ORDER @"https://www.newpacificdirect.com/isales/cancelOrder.htm"
  100. //
  101. //
  102. //#define URL_CART_SET_PRICE @"https://www.newpacificdirect.com/isales/setPrice.htm"
  103. //#define URL_CART_INCRESEMENT @"https://www.newpacificdirect.com/isales/increment.htm"
  104. //#define URL_CART @"https://www.newpacificdirect.com/isales/cartDtail.htm"
  105. //#define URL_CARTDELIVERY @"https://www.newpacificdirect.com/isales/cartDelivery.htm"
  106. //#define URL_ADD_TO_CART @"https://www.newpacificdirect.com/isales/addToCart.htm"
  107. //#define URL_CART_REMOVE @"https://www.newpacificdirect.com/isales/deleteToCart.htm"
  108. //#define URL_CART_CHECK @"https://www.newpacificdirect.com/isales/checkCartItem.htm"
  109. //
  110. //#define URL_CART2WISH @"https://www.newpacificdirect.com/isales/cartRemoveToWishlist.htm"
  111. //#define URL_WISH2CART @"https://www.newpacificdirect.com/isales/wishlistRemoveToCart.htm"
  112. //
  113. //#define URL_ITEM_DETAIL @"https://www.newpacificdirect.com/isales/modelDetail.htm"
  114. //
  115. //#define URL_ADD_TO_WATCHLIST @"https://www.newpacificdirect.com/isales/addToWishList.htm"
  116. //#define URL_WATCHLIST @"https://www.newpacificdirect.com/isales/wishList.htm"
  117. //#define URL_WATCHLIST_REMOVE @"https://www.newpacificdirect.com/isales/deleteToWishList.htm"
  118. //
  119. //
  120. //
  121. //#define URL_ADD_TO_PORTFOLIO @"https://www.newpacificdirect.com/isales/addToPortfolio.htm"
  122. //#define URL_PORTFOLIO_REMOVE @"https://www.newpacificdirect.com/isales/deleteToPortfolio.htm"
  123. //#define URL_PORTFOLIO @"https://www.newpacificdirect.com/isales/portfolios.htm"
  124. //#define URL_PORTFOLIO_SET_PRICE @"https://www.newpacificdirect.com/isales/setTearSheetPrice.htm"
  125. //#define URL_DM_PARAMS @"https://www.newpacificdirect.com/isales/selectTearSheetParam.htm"
  126. //#define URL_REQUEST_DM @"https://www.newpacificdirect.com/isales/getTearSheetPdf.htm"
  127. //#define URL_SAVE_DM_DIRECT @"https://www.newpacificdirect.com/isales/getTearSheetPdf.htm"
  128. //#define URL_SAVE_DM @"https://www.newpacificdirect.com/isales/saveTearSheetPdf.htm"
  129. //#define URL_DM_LIST @"https://www.newpacificdirect.com/isales/tearSheetPdfList.htm"
  130. //
  131. //
  132. //#define URL_CONTACT_LIST @"https://www.newpacificdirect.com/isales/getAllContact.htm"
  133. //#define URL_SHIPTO_LIST @"https://www.newpacificdirect.com/isales/getShipToContact.htm"
  134. //
  135. //#define URL_ADDRESS_EDOTOR @"https://www.newpacificdirect.com/isales/getAddAddress.htm"
  136. //#define URL_ADDRESS_SAVE @"https://www.newpacificdirect.com/isales/saveAddress.htm"
  137. //
  138. //
  139. //#define URL_CREDITCARD_EDOTOR @"https://www.newpacificdirect.com/isales/creditCard.htm"
  140. //#define URL_CREDITCARD_SAVE @"https://www.newpacificdirect.com/isales/saveAddress.htm"
  141. //
  142. //
  143. //
  144. //#define URL_CUSTOMER_INFO @"https://www.newpacificdirect.com/isales/getCustomerInfoByContact.htm"
  145. //#define URL_NEW_CUSTOMER @"https://www.newpacificdirect.com/isales/getAddCustomer.htm"
  146. //#define URL_CUSTOMER_SAVE @"https://www.newpacificdirect.com/isales/saveCustomer.htm"
  147. //#define URL_UPDATE_CUSTOMER_BCARD @"https://www.newpacificdirect.com/isales/updateCustomerBusiCard.htm"
  148. //
  149. //
  150. //
  151. //
  152. //
  153. //
  154. //#define URL_ERR_LOG @"https://www.newpacificdirect.com/isales/er_log.htm"
  155. //
  156. //#define URL_UPLOAD_IMG @"https://www.newpacificdirect.com/isales/uploadImg.htm"
  157. //
  158. //#define URL_COPY_ORDER @"https://www.newpacificdirect.com/isales/copyOrder.htm"
  159. //#define URL_SIGN_ORDER @"https://www.newpacificdirect.com/isales/updateOrderSign.htm"
  160. //#define URL_CUSTOMER_UPDATE @"https://www.newpacificdirect.com/isales/updateCustomer.htm"
  161. //#define URL_CART_GENERAL_NOTES @"https://www.newpacificdirect.com/isales/updateGeneralNote.htm"
  162. //#define URL_CART_ITEM_NOTES @"https://www.newpacificdirect.com/isales/setItemNotes.htm"
  163. //#define URL_EDIT_CUSTOMER @"https://www.newpacificdirect.com/isales/getUpdateCustomerInfoByContact.htm"
  164. //#define URL_CUSTOMER_PENDINGORDER @"https://www.newpacificdirect.com/isales/hasPendingOrderByContact.htm"
  165. #endif