ModelHeader.h 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. //
  2. // ModelHeader.h
  3. // model
  4. //
  5. // Created by zuxiukuan on 2018/7/15.
  6. // Copyright © 2018年 Mine. All rights reserved.
  7. //
  8. #ifndef ModelHeader_h
  9. #define ModelHeader_h
  10. /* ------前置平台接口请求地址, 拼接 PublicUrl---------- */
  11. ///公共url
  12. #define PublicUrl @"http://thmodel.izouma.com/thmodel"
  13. #define imageURl @"http://thmodel.izouma.com/thmodel/"
  14. #define apnsCernameStr @"pushModel"
  15. // #define PublicUrl @"http://192.168.50.132:8081/thmodel"
  16. // #define imageURl @"http://thmodel.izouma.com/thmodel/"
  17. // #define apnsCernameStr @"model"
  18. #define shareUrl(type,code) [NSString stringWithFormat:@"%@/share.jsp?type=%@&code=%@", PublicUrl, type, code]
  19. //应用下载地址 https://itunes.apple.com/cn/app/id1434011196?mt=8
  20. /// 1注册
  21. #define Url_doRegister(x) [NSString stringWithFormat:@"%@/model?action=domodelregister",x]
  22. /// 2登陆
  23. #define Url_doLogin(x) [NSString stringWithFormat:@"%@/model?action=modellogin",x]
  24. /// 2.1刷新信息
  25. #define Url_refreshLogin(x) [NSString stringWithFormat:@"%@/model?action=getmodeluserinfo",x]
  26. /// 验证手机号
  27. #define Url_testPhone(x) [NSString stringWithFormat:@"%@/memberInfo?action=verifyphone",x]
  28. /// 3模特技能列表
  29. #define Url_getSkillData(x) [NSString stringWithFormat:@"%@/model?action=getSkillData",x]
  30. /// 3.1 获取技能标签
  31. #define Url_getSkill(x) [NSString stringWithFormat:@"%@/model?action=getSkill",x]
  32. /// 4添加技能
  33. #define Url_addskill(x) [NSString stringWithFormat:@"%@/model?action=addskill",x]
  34. /// 5修改技能
  35. #define Url_updateSkill(x) [NSString stringWithFormat:@"%@/model?action=updateSkill",x]
  36. /// 5.1删除技能
  37. #define Url_removemodelskill(x) [NSString stringWithFormat:@"%@/model?action=removemodelskill",x]
  38. /// 6修改模卡资料
  39. #define Url_updateModelCard(x) [NSString stringWithFormat:@"%@/model?action=updateModelCard",x]
  40. /// 7获取地区标签
  41. #define Url_getArea(x) [NSString stringWithFormat:@"%@/model?action=getArea",x]
  42. /// 8视频订单
  43. #define Url_getVideoReordOrder(x) [NSString stringWithFormat:@"%@/order?action=getvideorecordorder",x]
  44. /// 9 取技能订单
  45. #define Url_dogetorderlist(x) [NSString stringWithFormat:@"%@/order?action=dogetmodelorder",x]
  46. /// 10 获取最近的活动
  47. #define Url_dogetpartty(x) [NSString stringWithFormat:@"%@/activity?action=dogetpartty",x]
  48. /// 11 我已参加的活动
  49. #define Url_doqrypartty(x) [NSString stringWithFormat:@"%@/activity?action=doqrypartty",x]
  50. /// 12 活动报名
  51. #define Url_doEnroll(x) [NSString stringWithFormat:@"%@/activity?action=doEnroll",x]
  52. /// 13 获取我收到的红包列表
  53. #define Url_getreceiveredlist(x) [NSString stringWithFormat:@"%@/pay?action=getreceiveredlist",x]
  54. /// 14.2 我未参加的活动
  55. #define Url_doqrynotpartt(x) [NSString stringWithFormat:@"%@/activity?action=doqrynotpartty",x]
  56. /// 15 上传工作照片
  57. #define Url_skillphoto(x) [NSString stringWithFormat:@"%@/upload?action=skillphoto",x]
  58. /// 16 tag标签
  59. #define Url_getStyle(x) [NSString stringWithFormat:@"%@/model?action=getStyle",x]
  60. /// 17 设置标签
  61. #define Url_SetStyle(x) [NSString stringWithFormat:@"%@/model?action=dosetmodelstyle",x]
  62. /// 18 获取资料
  63. #define Url_getModelData(x) [NSString stringWithFormat:@"%@/model?action=getmodeldata",x]
  64. /// 19上传图片
  65. #define Url_uploadImage(x) [NSString stringWithFormat:@"%@/upload",x]
  66. /// 上传头像
  67. #define Url_uploadHeadImage(x) [NSString stringWithFormat:@"%@/upload?action=hp",x]
  68. /// 20 获取个人标签
  69. #define URl_getModelStyle(x) [NSString stringWithFormat:@"%@/model?action=getmodelstyle",x]
  70. /// 21 添加个人照片
  71. #define Url_addModelPhoto(x) [NSString stringWithFormat:@"%@/model?action=addmodelphoto",x]
  72. /// 21 删除个人照片
  73. #define Url_deleteModelPhoto(x) [NSString stringWithFormat:@"%@/model?action=deletemodelphoto",x]
  74. /// 22 获取个人照片
  75. #define Url_getModelPhoto(x) [NSString stringWithFormat:@"%@/model?action=getmodelphoto",x]
  76. /// 23 添加个人荣誉
  77. #define Url_addModelHonor(x) [NSString stringWithFormat:@"%@/modelInfo?action=doAddHonor",x]
  78. /// 获取个人荣誉
  79. #define Url_getModelHonor(x) [NSString stringWithFormat:@"%@/modelInfo?action=doGetHonor",x]
  80. /// 24.1 提现申请
  81. #define Url_alipayoutcash(x) [NSString stringWithFormat:@"%@/pay?action=alipayoutcash",x]
  82. /// 24.2 提现加载
  83. #define Url_alipayoutcashload(x) [NSString stringWithFormat:@"%@/pay?action=alipayoutcashload",x]
  84. /// 24.3 支付宝提现信息修改
  85. #define Url_alipayoutcashmodify(x) [NSString stringWithFormat:@"%@/pay?action=alipayoutcashmodify",x]
  86. /// 24.4 提现申请记录
  87. #define Url_dogetoutcash(x) [NSString stringWithFormat:@"%@/pay?action=dogetoutcash",x]
  88. /// 24.5 收入明细列表
  89. #define Url_getIncomeDetails(x) [NSString stringWithFormat:@"%@/memberInfo?action=getincomedetails",x]
  90. /// 24.6 提现明细列表
  91. #define Url_getWithdrawList(x) [NSString stringWithFormat:@"%@/memberInfo?action=getoutcashdetails",x]
  92. /// 24.7 提现明细详情
  93. #define Url_getWithdrawDetail(x) [NSString stringWithFormat:@"%@/memberInfo?action=getoneoutcashdetails",x]
  94. /// 24.8 获取今日收入
  95. #define Url_getIncomeToday(x) [NSString stringWithFormat:@"%@/memberInfo?action=gettodayincome",x]
  96. /// 25.1 确认接单
  97. #define Url_confirmordermodel(x) [NSString stringWithFormat:@"%@/order?action=confirmordermodel",x]
  98. /// 25.2 取消订单
  99. #define Url_cancelordermodel(x) [NSString stringWithFormat:@"%@/order?action=cancelordermodel",x]
  100. /// 25.3 完成订单
  101. #define Url_dosettlementorder(x) [NSString stringWithFormat:@"%@/order?action=dosettlementorder",x]
  102. /// 25.4 订单详情
  103. #define Url_doGetOrderInfo(x) [NSString stringWithFormat:@"%@/order?action=doGetOrderInfo",x]
  104. /// 26 获取私密空间动态
  105. #define Url_doGetPrivate(x) [NSString stringWithFormat:@"%@/modelInfo?action=doGetPrivate",x]
  106. /// 27 移除订单消息
  107. #define Url_doRemoveModelHasRed(x) [NSString stringWithFormat:@"%@/model?action=doRemoveModelHasRed",x]
  108. /// 27 删除评论
  109. #define Url_deletePinglun(x) [NSString stringWithFormat:@"%@/model?action=doRemoveComments",x]
  110. #define Url_myTeam(x) [NSString stringWithFormat:@"%@/memberInfo?action=myTeam", x]
  111. #define Url_getCurrentShareCoin(x) [NSString stringWithFormat:@"%@/memberInfo?action=getCurrentShareCoin", x]
  112. #define Url_transferCoin(x) [NSString stringWithFormat:@"%@/memberInfo?action=transferShareCoin", x]
  113. #define Url_rank(x) [NSString stringWithFormat:@"%@/modelInfo?action=rank", x]
  114. #define Url_setOnline(x) [NSString stringWithFormat:@"%@/model?action=setOnline", x]
  115. #define Url_applyRecommend(x) [NSString stringWithFormat:@"%@/modelInfo?action=applyRecommend", x]
  116. #define Url_checkUpdate(x) [NSString stringWithFormat:@"%@/memberInfo?action=appVersion", x]
  117. #endif /* ModelHeader_h */