| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- //
- // ModelHeader.h
- // model
- //
- // Created by zuxiukuan on 2018/7/15.
- // Copyright © 2018年 Mine. All rights reserved.
- //
- #ifndef ModelHeader_h
- #define ModelHeader_h
- /* ------前置平台接口请求地址, 拼接 PublicUrl---------- */
- ///公共url
- #define PublicUrl @"http://thmodel.izouma.com/thmodel"
- #define imageURl @"http://thmodel.izouma.com/thmodel/"
- #define apnsCernameStr @"pushModel"
- // #define PublicUrl @"http://192.168.50.132:8081/thmodel"
- // #define imageURl @"http://thmodel.izouma.com/thmodel/"
- // #define apnsCernameStr @"model"
- #define shareUrl(type,code) [NSString stringWithFormat:@"%@/share.jsp?type=%@&code=%@", PublicUrl, type, code]
- //应用下载地址 https://itunes.apple.com/cn/app/id1434011196?mt=8
- /// 1注册
- #define Url_doRegister(x) [NSString stringWithFormat:@"%@/model?action=domodelregister",x]
- /// 2登陆
- #define Url_doLogin(x) [NSString stringWithFormat:@"%@/model?action=modellogin",x]
- /// 2.1刷新信息
- #define Url_refreshLogin(x) [NSString stringWithFormat:@"%@/model?action=getmodeluserinfo",x]
- /// 验证手机号
- #define Url_testPhone(x) [NSString stringWithFormat:@"%@/memberInfo?action=verifyphone",x]
- /// 3模特技能列表
- #define Url_getSkillData(x) [NSString stringWithFormat:@"%@/model?action=getSkillData",x]
- /// 3.1 获取技能标签
- #define Url_getSkill(x) [NSString stringWithFormat:@"%@/model?action=getSkill",x]
- /// 4添加技能
- #define Url_addskill(x) [NSString stringWithFormat:@"%@/model?action=addskill",x]
- /// 5修改技能
- #define Url_updateSkill(x) [NSString stringWithFormat:@"%@/model?action=updateSkill",x]
- /// 5.1删除技能
- #define Url_removemodelskill(x) [NSString stringWithFormat:@"%@/model?action=removemodelskill",x]
- /// 6修改模卡资料
- #define Url_updateModelCard(x) [NSString stringWithFormat:@"%@/model?action=updateModelCard",x]
- /// 7获取地区标签
- #define Url_getArea(x) [NSString stringWithFormat:@"%@/model?action=getArea",x]
- /// 8视频订单
- #define Url_getVideoReordOrder(x) [NSString stringWithFormat:@"%@/order?action=getvideorecordorder",x]
- /// 9 取技能订单
- #define Url_dogetorderlist(x) [NSString stringWithFormat:@"%@/order?action=dogetmodelorder",x]
- /// 10 获取最近的活动
- #define Url_dogetpartty(x) [NSString stringWithFormat:@"%@/activity?action=dogetpartty",x]
- /// 11 我已参加的活动
- #define Url_doqrypartty(x) [NSString stringWithFormat:@"%@/activity?action=doqrypartty",x]
- /// 12 活动报名
- #define Url_doEnroll(x) [NSString stringWithFormat:@"%@/activity?action=doEnroll",x]
- /// 13 获取我收到的红包列表
- #define Url_getreceiveredlist(x) [NSString stringWithFormat:@"%@/pay?action=getreceiveredlist",x]
- /// 14.2 我未参加的活动
- #define Url_doqrynotpartt(x) [NSString stringWithFormat:@"%@/activity?action=doqrynotpartty",x]
- /// 15 上传工作照片
- #define Url_skillphoto(x) [NSString stringWithFormat:@"%@/upload?action=skillphoto",x]
- /// 16 tag标签
- #define Url_getStyle(x) [NSString stringWithFormat:@"%@/model?action=getStyle",x]
- /// 17 设置标签
- #define Url_SetStyle(x) [NSString stringWithFormat:@"%@/model?action=dosetmodelstyle",x]
- /// 18 获取资料
- #define Url_getModelData(x) [NSString stringWithFormat:@"%@/model?action=getmodeldata",x]
- /// 19上传图片
- #define Url_uploadImage(x) [NSString stringWithFormat:@"%@/upload",x]
- /// 上传头像
- #define Url_uploadHeadImage(x) [NSString stringWithFormat:@"%@/upload?action=hp",x]
- /// 20 获取个人标签
- #define URl_getModelStyle(x) [NSString stringWithFormat:@"%@/model?action=getmodelstyle",x]
- /// 21 添加个人照片
- #define Url_addModelPhoto(x) [NSString stringWithFormat:@"%@/model?action=addmodelphoto",x]
- /// 21 删除个人照片
- #define Url_deleteModelPhoto(x) [NSString stringWithFormat:@"%@/model?action=deletemodelphoto",x]
- /// 22 获取个人照片
- #define Url_getModelPhoto(x) [NSString stringWithFormat:@"%@/model?action=getmodelphoto",x]
- /// 23 添加个人荣誉
- #define Url_addModelHonor(x) [NSString stringWithFormat:@"%@/modelInfo?action=doAddHonor",x]
- /// 获取个人荣誉
- #define Url_getModelHonor(x) [NSString stringWithFormat:@"%@/modelInfo?action=doGetHonor",x]
- /// 24.1 提现申请
- #define Url_alipayoutcash(x) [NSString stringWithFormat:@"%@/pay?action=alipayoutcash",x]
- /// 24.2 提现加载
- #define Url_alipayoutcashload(x) [NSString stringWithFormat:@"%@/pay?action=alipayoutcashload",x]
- /// 24.3 支付宝提现信息修改
- #define Url_alipayoutcashmodify(x) [NSString stringWithFormat:@"%@/pay?action=alipayoutcashmodify",x]
- /// 24.4 提现申请记录
- #define Url_dogetoutcash(x) [NSString stringWithFormat:@"%@/pay?action=dogetoutcash",x]
- /// 24.5 收入明细列表
- #define Url_getIncomeDetails(x) [NSString stringWithFormat:@"%@/memberInfo?action=getincomedetails",x]
- /// 24.6 提现明细列表
- #define Url_getWithdrawList(x) [NSString stringWithFormat:@"%@/memberInfo?action=getoutcashdetails",x]
- /// 24.7 提现明细详情
- #define Url_getWithdrawDetail(x) [NSString stringWithFormat:@"%@/memberInfo?action=getoneoutcashdetails",x]
- /// 24.8 获取今日收入
- #define Url_getIncomeToday(x) [NSString stringWithFormat:@"%@/memberInfo?action=gettodayincome",x]
- /// 25.1 确认接单
- #define Url_confirmordermodel(x) [NSString stringWithFormat:@"%@/order?action=confirmordermodel",x]
- /// 25.2 取消订单
- #define Url_cancelordermodel(x) [NSString stringWithFormat:@"%@/order?action=cancelordermodel",x]
- /// 25.3 完成订单
- #define Url_dosettlementorder(x) [NSString stringWithFormat:@"%@/order?action=dosettlementorder",x]
- /// 25.4 订单详情
- #define Url_doGetOrderInfo(x) [NSString stringWithFormat:@"%@/order?action=doGetOrderInfo",x]
- /// 26 获取私密空间动态
- #define Url_doGetPrivate(x) [NSString stringWithFormat:@"%@/modelInfo?action=doGetPrivate",x]
- /// 27 移除订单消息
- #define Url_doRemoveModelHasRed(x) [NSString stringWithFormat:@"%@/model?action=doRemoveModelHasRed",x]
- /// 27 删除评论
- #define Url_deletePinglun(x) [NSString stringWithFormat:@"%@/model?action=doRemoveComments",x]
- #define Url_myTeam(x) [NSString stringWithFormat:@"%@/memberInfo?action=myTeam", x]
- #define Url_getCurrentShareCoin(x) [NSString stringWithFormat:@"%@/memberInfo?action=getCurrentShareCoin", x]
- #define Url_transferCoin(x) [NSString stringWithFormat:@"%@/memberInfo?action=transferShareCoin", x]
- #define Url_rank(x) [NSString stringWithFormat:@"%@/modelInfo?action=rank", x]
- #define Url_setOnline(x) [NSString stringWithFormat:@"%@/model?action=setOnline", x]
- #define Url_applyRecommend(x) [NSString stringWithFormat:@"%@/modelInfo?action=applyRecommend", x]
- #define Url_checkUpdate(x) [NSString stringWithFormat:@"%@/memberInfo?action=appVersion", x]
- #endif /* ModelHeader_h */
|