config.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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. //
  11. //
  12. #define LOCAL_URL_CUSTOMER_INFO_EDITOR @"customer_info_template"
  13. #define LOCAL_URL_CUSTOMER_ADV_SEARCH @"customer_advanced_search"
  14. //
  15. ////------------------- chen server-----------------------
  16. //#define URL_UPDATE_AUTH @"http://192.168.0.119:8080/site/isales/login.htm"
  17. //#define URL_LOGOUT @"http://192.168.0.119:8080/site/isales/loginOut.htm"
  18. //#define URL_RETRIEVE_PASS @"http://192.168.0.119:8080/site/isales/forgotPassword.htm"
  19. //
  20. //#define URL_REQUEST_CATMENU @"http://192.168.0.119:8080/site/isales/menu.htm"
  21. //#define URL_LOAD_HOME @"http://192.168.0.119:8080/site/isales/homePage.htm"
  22. //#define URL_CATEGORY @"http://192.168.0.119:8080/site/isales/distinctCategory.htm"
  23. //#define URL_SEARCH @"http://192.168.0.119:8080/site/isales/search.htm"
  24. //#define URL_ITEM_SEARCH @"http://192.168.0.119:8080/site/isales/itemSearch.htm"
  25. //#define URL_CATEGORY_LOADMORE @"http://192.168.0.119:8080/site/isales/categoryMore.htm"
  26. //
  27. //
  28. //
  29. //#define URL_ORDER_LIST @"http://192.168.0.119:8080/site/isales/orderList.htm"
  30. //#define URL_ORDER_DETAIL @"http://192.168.0.119:8080/site/isales/orderDetail.htm"
  31. //#define URL_COMMIT_ORDER @"http://192.168.0.119:8080/site/isales/createOrder.htm"
  32. //#define URL_SAVE_ORDER @"http://192.168.0.119:8080/site/isales/saveOrder.htm"
  33. //#define URL_UPDATE_ORDERCUSTOMER @"http://192.168.0.119:8080/site/isales/updateOrderCustomerInfo.htm"
  34. //#define URL_NEW_ORDER @"http://192.168.0.119:8080/site/isales/createNewOrder.htm"
  35. //#define URL_OPEN_ORDER @"http://192.168.0.119:8080/site/isales/openOrder.htm"
  36. //#define URL_RELEASE_ORDER @"http://192.168.0.119:8080/site/isales/closeOrder.htm"
  37. //#define URL_DELETE_ORDER @"http://192.168.0.119:8080/site/isales/deleteOrder.htm"
  38. //#define URL_CANCEL_ORDER @"http://192.168.0.119:8080/site/isales/cancelOrder.htm"
  39. //
  40. //
  41. //#define URL_CART_SET_PRICE @"http://192.168.0.119:8080/site/isales/setPrice.htm"
  42. //#define URL_CART_INCRESEMENT @"http://192.168.0.119:8080/site/isales/increment.htm"
  43. //#define URL_CART @"http://192.168.0.119:8080/site/isales/cartDtail.htm"
  44. //#define URL_CARTDELIVERY @"http://192.168.0.119:8080/site/isales/cartDelivery.htm"
  45. //#define URL_ADD_TO_CART @"http://192.168.0.119:8080/site/isales/addToCart.htm"
  46. //#define URL_CART_REMOVE @"http://192.168.0.119:8080/site/isales/deleteToCart.htm"
  47. //#define URL_CART_CHECK @"http://192.168.0.119:8080/site/isales/checkCartItem.htm"
  48. //#define URL_CART2WISH @"http://192.168.0.119:8080/site/isales/cartRemoveToWishlist.htm"
  49. //#define URL_WISH2CART @"http://192.168.0.119:8080/site/isales/wishlistRemoveToCart.htm"
  50. //
  51. //
  52. //
  53. //
  54. //#define URL_ITEM_DETAIL @"http://192.168.0.119:8080/site/isales/modelDetail.htm"
  55. //
  56. //#define URL_ADD_TO_WATCHLIST @"http://192.168.0.119:8080/site/isales/addToWishList.htm"
  57. //#define URL_WATCHLIST @"http://192.168.0.119:8080/site/isales/wishList.htm"
  58. //#define URL_WATCHLIST_REMOVE @"http://192.168.0.119:8080/site/isales/deleteToWishList.htm"
  59. //
  60. //
  61. //
  62. //#define URL_ADD_TO_PORTFOLIO @"http://192.168.0.119:8080/site/isales/addToPortfolio.htm"
  63. //#define URL_PORTFOLIO_REMOVE @"http://192.168.0.119:8080/site/isales/deleteToPortfolio.htm"
  64. //#define URL_PORTFOLIO @"http://192.168.0.119:8080/site/isales/portfolios.htm"
  65. //#define URL_PORTFOLIO_SET_PRICE @"http://192.168.0.119:8080/site/isales/setTearSheetPrice.htm"
  66. //#define URL_DM_PARAMS @"http://192.168.0.119:8080/site/isales/selectTearSheetParam.htm"
  67. //#define URL_REQUEST_DM @"http://192.168.0.119:8080/site/isales/getTearSheetPdf.htm"
  68. //#define URL_SAVE_DM_DIRECT @"http://192.168.0.119:8080/site/isales/getTearSheetPdf.htm"
  69. //#define URL_SAVE_DM @"http://192.168.0.119:8080/site/isales/saveTearSheetPdf.htm"
  70. //#define URL_DM_LIST @"http://192.168.0.119:8080/site/isales/tearSheetPdfList.htm"
  71. //
  72. //
  73. //#define URL_CONTACT_LIST @"http://192.168.0.119:8080/site/isales/getAllContact.htm"
  74. //#define URL_SHIPTO_LIST @"http://192.168.0.119:8080/site/isales/getShipToContact.htm"
  75. //
  76. //#define URL_ADDRESS_EDOTOR @"http://192.168.0.119:8080/site/isales/getAddAddress.htm"
  77. //#define URL_ADDRESS_SAVE @"http://192.168.0.119:8080/site/isales/saveAddress.htm"
  78. //
  79. //
  80. //#define URL_CREDITCARD_EDOTOR @"http://192.168.0.119:8080/site/isales/creditCard.htm"
  81. //#define URL_CREDITCARD_SAVE @"http://192.168.0.119:8080/site/isales/saveAddress.htm"
  82. //
  83. //
  84. //
  85. //#define URL_CUSTOMER_INFO @"http://192.168.0.119:8080/site/isales/getCustomerInfoByContact.htm"
  86. //#define URL_CUSTOMER_EDIT @"http://192.168.0.119:8080/site/isales/getAddCustomer.htm"
  87. //#define URL_CUSTOMER_SAVE @"http://192.168.0.119:8080/site/isales/saveCustomer.htm"
  88. //#define URL_UPDATE_CUSTOMER_BCARD @"http://192.168.0.119:8080/site/isales/updateCustomerBusiCard.htm"
  89. //
  90. //
  91. //
  92. //
  93. //
  94. //
  95. //#define URL_ERR_LOG @"http://192.168.0.119:8080/site/isales/er_log.htm"
  96. //
  97. //#define URL_UPLOAD_IMG @"http://192.168.0.119:8080/site/isales/uploadImg.htm"
  98. //
  99. //
  100. //------------------- test server-----------------------
  101. #define URL_UPDATE_AUTH @"http://113.28.30.235/site/isales/login.htm"
  102. #define URL_LOGOUT @"http://113.28.30.235/site/isales/loginOut.htm"
  103. #define URL_RETRIEVE_PASS @"http://113.28.30.235/site/isales/forgotPassword.htm"
  104. #define URL_REQUEST_CATMENU @"http://113.28.30.235/site/isales/menu.htm"
  105. #define URL_LOAD_HOME @"http://113.28.30.235/site/isales/homePage.htm"
  106. #define URL_CATEGORY @"http://113.28.30.235/site/isales/distinctCategory.htm"
  107. #define URL_SEARCH @"http://113.28.30.235/site/isales/search.htm"
  108. #define URL_ITEM_SEARCH @"http://113.28.30.235/site/isales/itemSearch.htm"
  109. #define URL_CATEGORY_LOADMORE @"http://113.28.30.235/site/isales/categoryMore.htm"
  110. #define URL_ORDER_LIST @"http://113.28.30.235/site/isales/orderList.htm"
  111. #define URL_ORDER_DETAIL @"http://113.28.30.235/site/isales/orderDetail.htm"
  112. #define URL_COMMIT_ORDER @"http://113.28.30.235/site/isales/createOrder.htm"
  113. #define URL_SAVE_ORDER @"http://113.28.30.235/site/isales/saveOrder.htm"
  114. #define URL_UPDATE_ORDERCUSTOMER @"http://113.28.30.235/site/isales/updateOrderCustomerInfo.htm"
  115. #define URL_NEW_ORDER @"http://113.28.30.235/site/isales/createNewOrder.htm"
  116. #define URL_OPEN_ORDER @"http://113.28.30.235/site/isales/openOrder.htm"
  117. #define URL_RELEASE_ORDER @"http://113.28.30.235/site/isales/closeOrder.htm"
  118. #define URL_DELETE_ORDER @"http://113.28.30.235/site/isales/deleteOrder.htm"
  119. #define URL_CANCEL_ORDER @"http://113.28.30.235/site/isales/cancelOrder.htm"
  120. #define URL_CART_SET_PRICE @"http://113.28.30.235/site/isales/setPrice.htm"
  121. #define URL_CART_INCRESEMENT @"http://113.28.30.235/site/isales/increment.htm"
  122. #define URL_CART @"http://113.28.30.235/site/isales/cartDtail.htm"
  123. #define URL_CARTDELIVERY @"http://113.28.30.235/site/isales/cartDelivery.htm"
  124. #define URL_ADD_TO_CART @"http://113.28.30.235/site/isales/addToCart.htm"
  125. #define URL_CART_REMOVE @"http://113.28.30.235/site/isales/deleteToCart.htm"
  126. #define URL_CART_CHECK @"http://113.28.30.235/site/isales/checkCartItem.htm"
  127. #define URL_CART2WISH @"http://113.28.30.235/site/isales/cartRemoveToWishlist.htm"
  128. #define URL_WISH2CART @"http://113.28.30.235/site/isales/wishlistRemoveToCart.htm"
  129. #define URL_ITEM_DETAIL @"http://113.28.30.235/site/isales/modelDetail.htm"
  130. #define URL_ADD_TO_WATCHLIST @"http://113.28.30.235/site/isales/addToWishList.htm"
  131. #define URL_WATCHLIST @"http://113.28.30.235/site/isales/wishList.htm"
  132. #define URL_WATCHLIST_REMOVE @"http://113.28.30.235/site/isales/deleteToWishList.htm"
  133. #define URL_ADD_TO_PORTFOLIO @"http://113.28.30.235/site/isales/addToPortfolio.htm"
  134. #define URL_PORTFOLIO_REMOVE @"http://113.28.30.235/site/isales/deleteToPortfolio.htm"
  135. #define URL_PORTFOLIO @"http://113.28.30.235/site/isales/portfolios.htm"
  136. #define URL_PORTFOLIO_SET_PRICE @"http://113.28.30.235/site/isales/setTearSheetPrice.htm"
  137. #define URL_DM_PARAMS @"http://113.28.30.235/site/isales/selectTearSheetParam.htm"
  138. #define URL_REQUEST_DM @"http://113.28.30.235/site/isales/getTearSheetPdf.htm"
  139. #define URL_SAVE_DM_DIRECT @"http://113.28.30.235/site/isales/getTearSheetPdf.htm"
  140. #define URL_SAVE_DM @"http://113.28.30.235/site/isales/saveTearSheetPdf.htm"
  141. #define URL_DM_LIST @"http://113.28.30.235/site/isales/tearSheetPdfList.htm"
  142. #define URL_CONTACT_LIST @"http://113.28.30.235/site/isales/getAllContact.htm"
  143. #define URL_SHIPTO_LIST @"http://113.28.30.235/site/isales/getShipToContact.htm"
  144. #define URL_ADDRESS_EDOTOR @"http://113.28.30.235/site/isales/getAddAddress.htm"
  145. #define URL_ADDRESS_SAVE @"http://113.28.30.235/site/isales/saveAddress.htm"
  146. #define URL_CREDITCARD_EDOTOR @"http://113.28.30.235/site/isales/creditCard.htm"
  147. #define URL_CREDITCARD_SAVE @"http://113.28.30.235/site/isales/saveAddress.htm"
  148. #define URL_CUSTOMER_INFO @"http://113.28.30.235/site/isales/getCustomerInfoByContact.htm"
  149. #define URL_CUSTOMER_EDIT @"http://113.28.30.235/site/isales/getAddCustomer.htm"
  150. #define URL_CUSTOMER_SAVE @"http://113.28.30.235/site/isales/saveCustomer.htm"
  151. #define URL_UPDATE_CUSTOMER_BCARD @"http://113.28.30.235/site/isales/updateCustomerBusiCard.htm"
  152. #define URL_ERR_LOG @"http://113.28.30.235/site/isales/er_log.htm"
  153. #define URL_UPLOAD_IMG @"http://113.28.30.235/site/isales/uploadImg.htm"
  154. //
  155. ////------------------- NPD server-----------------------
  156. //#define URL_UPDATE_AUTH @"https://www.newpacificdirect.com/isales/login.htm"
  157. //#define URL_LOGOUT @"https://www.newpacificdirect.com/isales/loginOut.htm"
  158. //#define URL_RETRIEVE_PASS @"https://www.newpacificdirect.com/isales/forgotPassword.htm"
  159. //
  160. //#define URL_REQUEST_CATMENU @"https://www.newpacificdirect.com/isales/menu.htm"
  161. //#define URL_LOAD_HOME @"https://www.newpacificdirect.com/isales/homePage.htm"
  162. //#define URL_CATEGORY @"https://www.newpacificdirect.com/isales/distinctCategory.htm"
  163. //#define URL_SEARCH @"https://www.newpacificdirect.com/isales/search.htm"
  164. //#define URL_ITEM_SEARCH @"https://www.newpacificdirect.com/isales/itemSearch.htm"
  165. //#define URL_CATEGORY_LOADMORE @"https://www.newpacificdirect.com/isales/categoryMore.htm"
  166. //
  167. //
  168. //
  169. //#define URL_ORDER_LIST @"https://www.newpacificdirect.com/isales/orderList.htm"
  170. //#define URL_ORDER_DETAIL @"https://www.newpacificdirect.com/isales/orderDetail.htm"
  171. //#define URL_COMMIT_ORDER @"https://www.newpacificdirect.com/isales/createOrder.htm"
  172. //#define URL_SAVE_ORDER @"https://www.newpacificdirect.com/isales/saveOrder.htm"
  173. //#define URL_UPDATE_ORDERCUSTOMER @"https://www.newpacificdirect.com/isales/updateOrderCustomerInfo.htm"
  174. //#define URL_NEW_ORDER @"https://www.newpacificdirect.com/isales/createNewOrder.htm"
  175. //#define URL_OPEN_ORDER @"https://www.newpacificdirect.com/isales/openOrder.htm"
  176. //#define URL_RELEASE_ORDER @"https://www.newpacificdirect.com/isales/closeOrder.htm"
  177. //#define URL_DELETE_ORDER @"https://www.newpacificdirect.com/isales/deleteOrder.htm"
  178. //#define URL_CANCEL_ORDER @"https://www.newpacificdirect.com/isales/cancelOrder.htm"
  179. //
  180. //
  181. //#define URL_CART_SET_PRICE @"https://www.newpacificdirect.com/isales/setPrice.htm"
  182. //#define URL_CART_INCRESEMENT @"https://www.newpacificdirect.com/isales/increment.htm"
  183. //#define URL_CART @"https://www.newpacificdirect.com/isales/cartDtail.htm"
  184. //#define URL_CARTDELIVERY @"https://www.newpacificdirect.com/isales/cartDelivery.htm"
  185. //#define URL_ADD_TO_CART @"https://www.newpacificdirect.com/isales/addToCart.htm"
  186. //#define URL_CART_REMOVE @"https://www.newpacificdirect.com/isales/deleteToCart.htm"
  187. //#define URL_CART_CHECK @"https://www.newpacificdirect.com/isales/checkCartItem.htm"
  188. //
  189. //#define URL_CART2WISH @"https://www.newpacificdirect.com/isales/cartRemoveToWishlist.htm"
  190. //#define URL_WISH2CART @"https://www.newpacificdirect.com/isales/wishlistRemoveToCart.htm"
  191. //
  192. //#define URL_ITEM_DETAIL @"https://www.newpacificdirect.com/isales/modelDetail.htm"
  193. //
  194. //#define URL_ADD_TO_WATCHLIST @"https://www.newpacificdirect.com/isales/addToWishList.htm"
  195. //#define URL_WATCHLIST @"https://www.newpacificdirect.com/isales/wishList.htm"
  196. //#define URL_WATCHLIST_REMOVE @"https://www.newpacificdirect.com/isales/deleteToWishList.htm"
  197. //
  198. //
  199. //
  200. //#define URL_ADD_TO_PORTFOLIO @"https://www.newpacificdirect.com/isales/addToPortfolio.htm"
  201. //#define URL_PORTFOLIO_REMOVE @"https://www.newpacificdirect.com/isales/deleteToPortfolio.htm"
  202. //#define URL_PORTFOLIO @"https://www.newpacificdirect.com/isales/portfolios.htm"
  203. //#define URL_PORTFOLIO_SET_PRICE @"https://www.newpacificdirect.com/isales/setTearSheetPrice.htm"
  204. //#define URL_DM_PARAMS @"https://www.newpacificdirect.com/isales/selectTearSheetParam.htm"
  205. //#define URL_REQUEST_DM @"https://www.newpacificdirect.com/isales/getTearSheetPdf.htm"
  206. //#define URL_SAVE_DM_DIRECT @"https://www.newpacificdirect.com/isales/getTearSheetPdf.htm"
  207. //#define URL_SAVE_DM @"https://www.newpacificdirect.com/isales/saveTearSheetPdf.htm"
  208. //#define URL_DM_LIST @"https://www.newpacificdirect.com/isales/tearSheetPdfList.htm"
  209. //
  210. //
  211. //#define URL_CONTACT_LIST @"https://www.newpacificdirect.com/isales/getAllContact.htm"
  212. //#define URL_SHIPTO_LIST @"https://www.newpacificdirect.com/isales/getShipToContact.htm"
  213. //
  214. //#define URL_ADDRESS_EDOTOR @"https://www.newpacificdirect.com/isales/getAddAddress.htm"
  215. //#define URL_ADDRESS_SAVE @"https://www.newpacificdirect.com/isales/saveAddress.htm"
  216. //
  217. //
  218. //#define URL_CREDITCARD_EDOTOR @"https://www.newpacificdirect.com/isales/creditCard.htm"
  219. //#define URL_CREDITCARD_SAVE @"https://www.newpacificdirect.com/isales/saveAddress.htm"
  220. //
  221. //
  222. //
  223. //#define URL_CUSTOMER_INFO @"https://www.newpacificdirect.com/isales/getCustomerInfoByContact.htm"
  224. //#define URL_CUSTOMER_EDIT @"https://www.newpacificdirect.com/isales/getAddCustomer.htm"
  225. //#define URL_CUSTOMER_SAVE @"https://www.newpacificdirect.com/isales/saveCustomer.htm"
  226. //#define URL_UPDATE_CUSTOMER_BCARD @"https://www.newpacificdirect.com/isales/updateCustomerBusiCard.htm"
  227. //
  228. //
  229. //
  230. //
  231. //
  232. //
  233. //#define URL_ERR_LOG @"https://www.newpacificdirect.com/isales/er_log.htm"
  234. //
  235. //#define URL_UPLOAD_IMG @"https://www.newpacificdirect.com/isales/uploadImg.htm"
  236. #endif