AllUrl.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. //
  2. // AllUrl.h
  3. // YouPu
  4. //
  5. // Created by youke on 2018/3/16.
  6. // Copyright © 2018年 youke. All rights reserved.
  7. //
  8. #ifndef AllUrl_h
  9. #define AllUrl_h
  10. #define XHS_BASE_REQUEST @"http://www.baidu.com" //测试
  11. //正式环境
  12. #define RootDomain @"http://api.zpb.youpuchina.com"
  13. //卓琳
  14. //#define RootDomain @"http://192.168.1.229:8080"
  15. //李冰
  16. //#define RootDomain @"http://192.168.1.155:8200"
  17. //健哥
  18. //#define RootDomain @"http://192.168.1.55:8200"
  19. //思伟
  20. //#define RootDomain @"http://192.168.1.168:8200"
  21. //测试服务器
  22. //#define RootDomain @"http://api.zpb.yingshangchina.com"
  23. //购买vip线上地址
  24. #define BuyVipAdress @"http://m.youpuchina.com/buymemberH5"
  25. //购买vip阎炳岳本地地址
  26. //#define BuyVipAdress @"http://192.168.1.202:8081/buymemberH5"
  27. #define yanzhengma @"/user/sendsms"
  28. #define login @"/login"
  29. #define mycollect @"/shopCollection/getShopCollection"
  30. #define CancelCollect @"/shopCollection/batchDele"
  31. #define lookTimes @"/user/shopCheckedRecords"
  32. #define Gosearch @"/shop/getSearch"
  33. #define Ceshi @"/show/addCutomer"
  34. #define RootDimainForFlight @"http://api.gobonni.com/api"
  35. #define upload_form_upload @"/upload/formUpload"
  36. #define main_page2 @"/index/main2"
  37. #define DKHome @"/index"
  38. #define weixin @"/app/WXPayApi/getWXOrder"
  39. #define zhifubao @"/app/aliPayApi/getAliOrder"
  40. #define allOrderList @"/order/getMyOrders"
  41. #define payMoneyGet @"/app/WXPayApi/getOrderPrice"
  42. #define myVipLsit @"/member/getMyMember"
  43. #define hiddenOrNot @"/show/getUpgradeVersionInfo"
  44. #define messageList @"/select/phone"
  45. #define readMessage @"/select/readMsg"
  46. #define isRead @"/select/updateUm"
  47. #define errorToPost @"/pay/exception/addPayExceptionLog"
  48. #define redpointHidden @"/user/getMsgStatus"
  49. #define zhaozhuanpu @"/show/addCutomer"
  50. #define ZRCZlistUrl @"/publish/getPublishList"
  51. #define deleteshop @"/publish/delShop"
  52. #define QZdeleteshop @"/renting/delect"
  53. #define QZlistUrl @"/renting/list"
  54. #define request_url(path) [NSString stringWithFormat:@"%@%@",RootDomain,path]
  55. #define You_findShop request_url(@"/show/addCutomer")
  56. #define You_headerInfo request_url(@"/show/showInfo")
  57. #define You_headerList request_url(@"/shop/getTopDjsk")// 首页商铺列表
  58. #define You_storeSearch request_url(@"/shop/getShopList")//商铺模块搜索条件
  59. #define You_storeDetail request_url(@"/shop/getShopDetail")// 首页商铺列表
  60. #define You_collectionSave request_url(@"/shopCollection/save")//收藏
  61. #define You_searchList request_url(@"/shop/getUpLoadShopList")//条件搜索
  62. #define You_AccessStatus request_url(@"/user/shopCheckedRecords")//访问状态
  63. #define You_deleteCollection request_url(@"/shopCollection/dele")//取消收藏
  64. #define You_saveCollection request_url(@"/shopCollection/save")//收藏
  65. #define You_getUpVersion request_url(@"/show/getUpgradeVersionInfo")//版本检测
  66. #define You_searchNew request_url(@"/shop/getSearch")//搜索刷新
  67. #define You_brandInfo request_url(@"/brand/getBrandLogoList")
  68. #define You_brandList request_url(@"/brand/getBrandList")
  69. #define You_isSend request_url(@"/publish/isPublish")
  70. #define You_sendChangeStore request_url(@"/publish/getPublishInfo")
  71. #define You_getAreas request_url(@"/publish/getAreas")
  72. #define You_rentingInfo request_url(@"/renting/demand")
  73. #define You_sendSoliciting request_url(@"/renting/collect")
  74. #endif /* AllUrl_h */