ServerURL.h 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. //
  2. // ServerURL.h
  3. // LiveChat
  4. //
  5. // Created by 张灿 on 2018/4/6.
  6. // Copyright © 2018年 DaTongIntelligent. All rights reserved.
  7. //
  8. #ifndef ServerURL_h
  9. #define ServerURL_h
  10. //#define checkEnviTest
  11. #ifdef checkEnviTest
  12. #define BaseURL @"http://test.chicai.tech"
  13. #define isProdPush NO
  14. #else
  15. #define BaseURL kBaseURL
  16. #define isProdPush YES
  17. #endif
  18. #define BaseImgUrl kBaseImgURL
  19. //H5页面
  20. #define LiveProtocolH5 @"/index/active/agreement" // 直播协议
  21. #define UserProtocolH5 @"/index/about/agreement.html" //用户使用协议
  22. #define UserPrivacyH5 @"/index/about/privacy.html" //用户隐私政策
  23. #define serviceH5 @"/index/about/service.html" //女神服务协议
  24. #define inviteRuleH5 @"/index/about/invite_help.html"//邀请规则
  25. #define HelpBigCastH5 @"/index/about/help_girl.html"//女神帮助指南
  26. #define HelpNormalH5 @"/index/about/help_boy.html"//普通用户帮助指南
  27. #define HelpSpecialH5 @"/index/about/help_audit.html"//审核帮助指南
  28. #define MemberProtocolH5 @"/index/abouthw/vip_agreement.html"//会员协议
  29. #define UserLite @"/api/user/lite" //个人消费财富值
  30. #define CaiCaiAppSecret @"smwcKqotrWBCYBBXQHLi4EjuosZDQHiz"
  31. #define ProvinceList @"/api/app/provinceCitys"//获取省份列表
  32. #define CityList @"/api/app/citys"//获取城市列表
  33. #define AppConfig @"/api/app/config" //系统配置信息
  34. #define LevelInfo @"/api/common/icon" //获取等级图标
  35. #define AllBadge @"/api/dress/getAllBadge" //获取所有徽章 和 贵族图标
  36. #define SystemIndex @"/api/system/index" //打开app最先请求的接口
  37. #define ActiveUpdate @"/api/user/active_update" //更新活跃时间
  38. //登录注册
  39. #define PhoneRegister @"/api/passport/register" //手机注册
  40. #define PhoneLogin @"/api/passport/login" //手机登录
  41. #define PhoneCode @"/api/passport/send_code" //发送验证码
  42. #define Getnickname @"/api/user/nickname" //系统头像+昵称
  43. #define PhoneCodeLogin @"/api/passport/codeLogin" //手机号验证码登录
  44. #define OncePhoneLogin @"/api/passport/oneKeyLogin" //一键手机号登录
  45. #define OncePhoneLoginGetPNSATAUTHSDKINFOKEY @"/api/system/index" //初始化接口中增加一键手机号登录密钥
  46. #define ThirdLogin @"/api/passport/third" //第三方登录
  47. #define UpdatePassword @"/api/passport/resetpwd" //重置密码
  48. //更新资料
  49. #define UpdateUserMsg @"/api/user/profile" //更新用户资料
  50. #define UpdateUserMsgNew @"/api/user/profile_reg_new" //新的更新用户资料
  51. #define GetWithdarwStyle @"/api/wallet/account_info" //获取提现方式
  52. #define WXLogin @"/api/wechat.wechat_login/wx_login" // 微信登陆 上传code
  53. #define WXThird @"/api/passport/third" // 微信三方登陆
  54. #define UserCenter @"/api/user/home" //个人中心
  55. #define BindInit @"/api/user/account_binds" //获取账号绑定信息
  56. #define BindThird @"/api/user/bind_platform" //第三方账号绑定
  57. #define BindPhone @"/api/user/bind_mobile" //绑定手机号
  58. #define UpdateRemark @"/api/user/remark" //更新备注
  59. #define GetRemark @"/api/user/get_remark" //获取备注
  60. //活动
  61. #define TaskInit @"/api/task/lists" //每日奖励列表
  62. #define PunchCard @"/api/task/sign" //每日签到
  63. #define TaskShare @"/api/task/share" //每日分享
  64. //邀请有奖
  65. #define InviteInit @"/api/user/invite" //邀请有奖初始化
  66. #define InviteList @"/api/user/invite_list" //邀请的用户列表
  67. #define InviteRank @"/api/rank/invite" //邀请收益排行榜
  68. //排行榜单
  69. #define WealthBoard @"/api/rank/wealth" //财富榜
  70. #define BigCastBoard @"/api/rank/love" //女神榜(魅力榜)
  71. #define GiftBoard @"/api/rank/gift" //礼物榜
  72. #define FeeBoard @"/api/rank/wealth" //消费榜
  73. #define RankRichBoard @"/api/rank/rich" //财富榜剩下的钱
  74. #define FairyList @"/api/activity/get_fairy_list" //仙女棒
  75. #define boleRank @"/api/rank/boleRank" //伯乐榜
  76. #define NewloveRank @"/api/rank/newlove" //新人榜
  77. #define AnchorRank @"/api/rank/live" //女神榜
  78. #define GetNobleCoinLog @"/api/noble/getNobleCoinLog" //获取贵族币明细
  79. #define Gift_rank @"/api/user/gift_rank" //女神收礼物榜
  80. //成为女神
  81. #define JoinBigCast @"/api/anchor/join" //成为女神
  82. #define AgreeBigCastProtocol @"/api/anchor/agree_protocol" //同意女神服务协议
  83. #define CameraAudit @"/api/anchor/camera_audit" //自拍认证
  84. #define UploadCameraAudit @"/api/anchor/upload_camera_audit" //上传自拍认证
  85. #define ApplyBigCast @"/api/anchor/apply" //申请成为女神
  86. #define AnchorSet @"/api/anchor/skill_setting" //女神设置
  87. #define SetSkillPrice @"/api/anchor/set_price" //设置技能价格
  88. #define VoiceList @"/api/voice/list" //声音展示实例文案
  89. #define UserVoice @"/api/user/voice" //音频申请审核
  90. #define VoiceDelete @"/api/user/voice_delete" //删除已通过审核的音频
  91. //关系操作和列表
  92. #define UserFollow @"/api/user/follow" //关注
  93. #define UserBlack @"/api/user/black" //拉黑
  94. #define FollowList @"/api/user/follow_list" //关注列表
  95. #define FansList @"/api/user/fans_list" //粉丝列表
  96. #define SeenList @"/api/user/visitor_list" //访客列表
  97. #define VisitList @"/api/user/viewer_list" //浏览足迹列表
  98. #define BlackList @"/api/user/black_list" //黑名单列表
  99. //女神设置
  100. #define BigCastSkill @"/api/anchor/my_skill"//我的女神技能
  101. #define AllSkill @"/api/skill/lists" //所有技能列表
  102. #define AddSkill @"/api/anchor/add_skill"//添加技能
  103. #define BigCastSetVideoStatus @"/api/anchor/set_video_status" //女神打开和关闭视频开关
  104. #define BigCastSetOrderStatus @"/api/anchor/set_order_switch" //女神隐藏和显示接单次数
  105. #define SetMineGetPackage @"/api/package/getPackage"//获取我的背包物品
  106. #define UseNobleCard @"/api/package/useNobleCard"//贵族体验卡使用
  107. #define AnchorGetPrice @"/api/anchor/getPrice" // 获取女神价格已设置页面信息
  108. #define GetAnchorSetting @"/api/anchor/get_anchor_setting" //女神收费设置参数
  109. #define SetWuRaoStatus @"/api/user/isMsgRefuse" //设置勿扰(不是女神)
  110. #define NobleDetail @"/api/skill/nobleDetail"//贵族优惠
  111. //首页
  112. #define HomeIndex @"/api/index/index" //首页推荐
  113. #define HomeSkillAnchors @"/api/skill/anchors"//首页各个不同技能分类的数据
  114. #define HomeRecommendAnchors @"/api/index/recommend_anchors" //新的首页推荐
  115. #define HomeRecommend @"/api/v2/index/index/recommend" //新的首页推荐
  116. #define HomeWCW @"/api/v2/index/index/wcw" //首页男神推荐
  117. #define HomeOnlineList @"/api/index/online_list" // 首页在线
  118. #define HomeOnline @"/api/v2/index/index/online" // 首页在线
  119. #define HomeGetDesignated @"/api/v2/index/index/getDesignated" // 男号首页推荐
  120. #define HomeGetSameCityUser @"/api/v2/index/index/getSameCityUser" // 首页同城
  121. #define HomeActiveAnchors @"/api/index/active_anchors" //新的首页活跃
  122. #define HomeNewAnchors @"/api/index/new_anchors" //新的首页新人
  123. #define HomeCityAnchors @"/api/index/city_anchors" //新的首页同城
  124. #define HomeBanner @"/api/index/banner" // 首页banner
  125. #define AsylumAnchors @"/api/index/asylum_anchors" // 庇护之星列表
  126. #define IndexFollows @"/api/index/follows"
  127. #define HomeBeckonSend @"/api/beckon/send" ///心动搭讪
  128. #define HomeReccomAnchor @"/api/index/recommend_anchors" //首页推荐女神
  129. #define HomeOnlineCity @"/api/index/city_users"//男生同城列表
  130. #define HomeOnlineActive @"/api/index/active_users" //男生活跃列表
  131. #define UserShowPage @"/api/user/info" //用户的个人展示页面
  132. #define GetUserInfo @"/api/user/getUserInfo" //获取用户信息
  133. #define HomeSearch @"/api/index/search" //首页搜索
  134. #define HomeSearchSearch_stats @"/api/index/search_stats" //口令统计
  135. #define VideoCall @"/api/chat/call" //视频通话
  136. #define CheckVideo @"/api/chat/get_room" //收到视频通话自定义系统消息
  137. //群打招呼
  138. #define GreetList @"/api/greet/lists" //群打招呼列表
  139. #define GreetSend @"/api/greet/send" //一键群发
  140. #define GreetAdd @"/api/greet/add" //添加打招呼
  141. #define GreetDelete @"/api/greet/delete" //删除打招呼
  142. //上传
  143. #define UploadImages @"/api/upload/images"//上传图片
  144. //举报
  145. #define ReportInit @"/api/user/report_cate" //获取举报分类
  146. #define ReportUpload @"/api/user/report" //提交举报
  147. //动态
  148. #define DynamicPub @"/api/dynamic/publish" //发布动态
  149. #define DynamicUpdateImage @"/api/dynamic/publish_image" //更新动态相册
  150. #define DynamicLike @"/api/dynamic/like" //动态点赞
  151. #define DynamicSendGift @"/api/dynamic/send_gift" //动态送礼物
  152. #define DynamicList @"/api/dynamic/lists" //获取动态列表
  153. #define DynamicDelete @"/api/dynamic/delete"//删除动态
  154. #define DynamicDeleteLower @"/api/dynamic/delete_lower"//删除动态图片和文字
  155. #define DynamicUser @"/api/user/dynamic_list" //用户的动态列表
  156. //礼物相关
  157. #define LiveGiftList @"/api/gift/getGiftCate" //直播间礼物列表
  158. #define LivegetGiftDet @"/api/gift/getGift" //直播获取分类下的礼物
  159. #define GiftConfig @"/api/app/gifts" //礼物列表全局配置
  160. #define SendGift @"/api/chat/send_gift" //赠送礼物
  161. #define UserRecGiftList @"/api/user/gift_list" //用户收到的礼物列表
  162. #define SendGift_New @"/api/chat/send_gift_new" //1.3赠送礼物
  163. //钱包IM
  164. #define SendIM @"/api/chat/send_im" //发送IM消息过滤
  165. #define ChatSetting @"/api/chat/chat_setting" //聊天设置页面
  166. #define GetCommonWord @"/api/user/getCommonWord" //获取用户常用语
  167. #define WalletInit @"/api/wallet/index" //钱包页面
  168. #define WalletGoodList @"/api/wallet/goods_list" //商品列表
  169. #define WalletShowDialog @"/api/IndexActivity/index"
  170. #define WalletRecharge @"/api/wallet/recharge" //支付
  171. //#define RechargeNobleCoin @"/api/nobleOrder/rechargeNobleCoin" //支付
  172. #define WalletBill @"/api/wallet/record" //账单明细
  173. //提现
  174. #define WalletWithdraw @"/api/wallet/withdraw" //提现页面
  175. #define WalletZFB LCStr(word37) //支付宝账号页面 // @"/api/wallet/alipay"
  176. #define WalletZFBBind LCStr(word38) //@"/api/wallet/bind_alipay" //绑定支付宝
  177. #define WithDrawApply @"/api/wallet/user_withdraw" //用户申请提现
  178. #define ApplePayBack @"/api/callback/apple_pay" //内购上送支付凭证
  179. #define GetWithdrawPrice @"/api/wallet/get_withdraw_price" /// 获取提现到账金额
  180. //兑换
  181. #define WalletExchangeCoin @"/api/wallet/money_exchange" //余额兑换虾币
  182. #define WalletExchangeMoney @"/api/wallet/coin_exchange" //虾币兑换余额
  183. #define WalletChangeCoin @"/api/wallet/changeCoin" // 余额兑换钻石
  184. //视频会话
  185. #define VideoFinish @"/api/chat/video_charging" //视频结束计费
  186. #define VideoScore @"/api/chat/video_score" //视频评分
  187. #define VideoCallRecord @"/api/user/call_list" //视频通话记录
  188. #define VideoGetReduce @"/api/chat/getReduce" //减免时长列表
  189. //IM会话
  190. #define ChatTip @"/api/chat/chat_tip" //IM会话提示
  191. #define GetChatData @"/api/user/getChatData" // 获取聊天页资料卡
  192. //上传视频截图
  193. #define VideoPornCheck @"/api/chat/snapshoot_v2" //上传视频截图安全检查 新版
  194. #define VersionCheck @"/api/app/system" //版本检查
  195. #define VIPMember @"/api/user/member" //vip
  196. #define MemberKnight @"/api/member/knight"// 爵位商品信息
  197. #define MemberAsylumTop @"/api/member/asylum_top"// 我庇护的人的页头数据
  198. #define MemberAsylum @"/api/member/asylum" //我庇护的人
  199. #define MemberToAsylum @"/api/member/to_asylum"//某个人被庇护的用户列表
  200. /// 会员中心
  201. #define VipCategoryList @"/api/noble/getNobleCate" // 获取贵族列表
  202. #define VipDetails @"/api/noble/getNoble" // 获取贵族详情
  203. #define VipRechargeIndex @"/api/noble/rechargeIndex" //获取充值弹窗信息
  204. #define VipPay @"/api/nobleOrder/payNobleOrder" // 贵族支付接口
  205. #define GetNobleToCoinRate @"/api/nobleOrder/getNobleToCoinRate" // 兑换钻石页信息
  206. #define GetNobleCoin @"/api/nobleOrder/getNobleCoin" // 获取充值页信息
  207. #define RechargeNobleCoin @"/api/nobleOrder/rechargeNobleCoin" // 贵族币充值接口
  208. #define NobleExchange @"/api/nobleOrder/nobleExchange" // 贵族币兑换钻石
  209. #define GetNobleSetting @"/api/noble/getNobleSetting" // 贵族设置列表
  210. #define NobleSetting @"/api/noble/nobleSetting" // 贵族设置列表
  211. #define VIPOption @"/api/user/privileges" //vip操作
  212. #define MemberPrivacy_set @"/api/member/privacy_set" //爵位权限设置
  213. #define UploadFileLog @"/api/upload/upload_log" //崩溃日志上传
  214. #define GuardUserList @"/api/guard/get_user_guard_list" //用户守护列表
  215. #define GuardBorderList @"/api/guard/get_guard_list" //大咖守护榜
  216. #define AddGuard @"/api/guard/add_guard"//添加守护
  217. #define SendActivitGift @"/api/activity/send_activit_gift"//赠送仙女棒
  218. #define GetRankTab @"/api/activity/get_rank_tab"//是否显示仙女棒 伯乐榜
  219. #define AddAsylum @"/api/member/add_asylum"//赠送庇护
  220. #define SetAdolescent @"/api/user/set_adolescent" //设置青少年模式密码
  221. #define SwitchAdolescent @"/api/user/switch_adolescent" //开关
  222. #define GetAdolescentStatus @"/api/user/get_adolescent_status" //获取状态
  223. #define VerifyMobileCode @"/api/user/verify_mobile_code" //验证青少年模式密码
  224. //add by leo v1.0.8 视频中守护
  225. #define RoomAddGuard @"/api/guard/room_add_guard" //视频中添加守护
  226. #define ScreenShtoCheck @"/api/user/screen_number" //截屏检测
  227. #define CheckUpdateVersion @"/api/app/system" //检查版本更新
  228. #define onlineUpdate @"/api/user/online_update" //更新在线状态
  229. #define UserSign @"/api/activity.sign/signing" //签到接口
  230. #define GetAdvert @"/api/user/getAdvert" //首页弹窗广告
  231. #define GetOntvList @"/api/user/getOntvList" // 获取上电视数据
  232. #define HomeZhiDing @"/api/v2/index/index/weighting" //首页置顶
  233. //视频
  234. #define Watermark @"/api/vod.watermark/index" //获取其他平台无水印短视频地址
  235. #define TrendsSave @"/api/vod.trends/save" //创建视频动态,获取上传凭证
  236. #define TrendsLists @"/api/vod.trends/lists" //视频动态列表
  237. #define TrendsLike @"/api/vod.trends/like" //视频动态点赞
  238. #define TrendsBrowser @"/api/vod.trends/browser" //累加视频动态浏览量
  239. #define TrendsLike_lists @"/api/vod.trends/like_lists" //视频动态获赞列表
  240. #define TrendsDelete @"/api/vod.trends/delete" //删除视频动态
  241. #define AppPublish @"/api/app/publish" //违规公布
  242. #define ChatLabelList @"/api/chat/label_list" //标签列表
  243. #define ChatAddLabel @"/api/chat/add_label" //打标签
  244. #define WalletDayEarnings @"/api/wallet/day_earnings" //每日收益
  245. #define VodTrendsSendGift @"/api/vod.trends/send_gift" //赠送比心礼物
  246. //获取sts凭证
  247. #define STS @"/api/sts/index" //获取sts凭证
  248. // 陪玩
  249. #define GameList @"/api/game.info/lists" // 游戏列表
  250. #define GameCertificationSubmit @"/api/game.auth/submit" // 申请陪玩技能
  251. #define GameSetterPrice @"/api/game.skill/save" // 修改游戏技能价格
  252. #define GameOrderBuy @"/api/game.order/buy" // 游戏陪玩下单
  253. #define GameOrderList @"/api/game.order/list" // 游戏陪玩订单列表
  254. #define GameOrderOperate @"/api/game.order/operate" // 游戏陪玩订单处理
  255. #define GamePlayList @"/api/game.play/list" // 游戏陪玩首页列表
  256. /// 直播
  257. #define StatusLive @"/api/live/status_live" //女神是否认证
  258. #define ApplyLive @"/api/live/apply_live" //女神认证
  259. #define StartLive @"/api/live/start_live" //开启直播
  260. #define CloseLive @"/api/LiveList/closeLive" // 女神结束直播
  261. #define GetLiveCateList @"/api/LiveList/getLiveCateList" // 获取语聊分类 1直播分类 2语聊分类 不传默认1
  262. #define GetLiveListByCate @"/api/live_list/getLiveListByCate" //获取直播列表
  263. #define GetRandLive @"/api/LiveList/getRandLive" //新秀顶部推荐
  264. #define JoinLive @"/api/live/join_live" //观众进入直播间
  265. #define LiveSendMessage @"/api/live/send_message" //直播间发送消息
  266. #define GetUserCloseLive @"/api/LiveList/getUserCloseLive" // 用户直播结束页
  267. #define GetInviteList @"/api/live_list/getInviteList" //pk连麦邀请列表
  268. #define StartInteract @"/api/live/start_interact" //开始pk
  269. #define OperateFrom @"/api/live/operate_from" //主叫方操作(取消、结束)
  270. #define ObtainInteract @"/api/live/obtain_interact" //被连麦者获取连麦或pk信息
  271. #define OperateTo @"/api/live/operate_to" //接收方操作(接听、拒绝、结束)
  272. #define LiveGetUser @"/api/live/get_user" //获取用户基本信息
  273. #define LiveCover @"/api/live/set_cover" // 直播截图上传
  274. #define GetLeftLive @"/api/live_list/getLeftLive" //获取左滑推荐女神
  275. #define GetLiveVerifyToken @"/api/live/DescribeVerifyToken" //获取女神实人认证Token
  276. #define LiveVerifyTokenSuccess @"/api/live/DescribeVerifyResult" //女神实人认证后回调
  277. #define UserAuth @"/api/user/userAuth" //男用户认证
  278. #define ReStartPK @"/api/live/restart_pk" //重新pk
  279. #define ReFusePK @"/api/live/refuse_pk" //重新pk 拒绝
  280. #define ReceiveRestartPK @"/api/live/receive_restart_pk" //重新pk接受
  281. #define MusicBaseHot @"/api/music/BaseHot" //获取平台热门音乐列表
  282. #define MusicInfo @"/api/music/TrafficHQListen" //通过音乐id获取完整版音乐
  283. #define GetLiveSendList @"/api/live/getLiveSendList" //获取直播间贡献排名
  284. #define GetLiveOnlineUsers @"/api/live/getLiveOnlineUsers" //获取直播间在线用户
  285. #define GetLiveRankList @"/api/live/getLiveRank" //直播间获取女神榜
  286. #define MemberOutLive @"/api/live/out_live" //用户退出直播间
  287. #define MemberJoinLive @"/api/live/comein_live" //用户进入直播间
  288. #define ForBiddenUser @"/api/liveOperator/forbiddenUser" //直播间用户操作
  289. #define GetManagerList @"/api/LiveOperator/getManagerList" //获取 禁言 管理员 踢人列表
  290. #define LiveRepealForbidden @"/api/LiveOperator/setKick" //撤销踢人
  291. /// 公会
  292. #define UnionsAnchor @"/api/union/anchor" //公会成员女神列表
  293. #define UnionsAnchorHot @"/api/union/anchor_hot" //公会设置热门女神
  294. #define UnionsPromotion @"/api/union/promotion" // 推广
  295. /// 个性装扮
  296. #define GetDressList @"/api/dress/getDressList" // 获取用户装扮列表
  297. #define UpdateDress @"/api/dress/updateUse" // 设置使用的个性装扮
  298. #define GetPackageDot @"/api/package/getDot" // 获取包裹红点
  299. #define ChatRoom_Guild_search @"/api/talk.Guild/search" // 公会搜索首页(未批准的列表数据)
  300. #define ChatRoom_Guild_guildSearch @"/api/talk.Guild/guildSearch" // 公会搜索(精确搜索公会列表结果)
  301. #define ChatRoom_guildJoin @"/api/talk.Guild/guildJoin" // 公会加入
  302. #define ChatRoom_guildCenter @"/api/talk.Guild/guild" // 公会中心首页
  303. #define ChatRoom_guildMemberList @"/api/talk.Guild/guildMemberList" // 公会申请列表
  304. #define ChatRoom_guildMember @"/api/talk.Guild/guildMember" // 公会申请列表确认
  305. #define ChatRoom_guildQuit @"/api/talk.Guild/guildQuit" // 公会退出
  306. #define ChatRoom_guildIncome @"/api/talk.Guild/guildIncome" // 公会收益
  307. #define ChatRoom_guildRoom @"/api/talk.Guild/guildRoom" // 公会房间列表
  308. #define ChatRoom_guildQuit @"/api/talk.Guild/guildQuit" // 公会退出
  309. #define ChatRoom_guildQuitList @"/api/talk.Guild/guildQuitList" // 公会退出列表 (会长)
  310. #define ChatRoom_guildQuitUp @"/api/talk.Guild/guildQuitUp" // 公会退出确认 (会长)
  311. //我的人脉
  312. #define Contacts_overview @"/api/contacts/overview" // 概览
  313. #define Mine_setFateMatch @"/api/user/setFateMatch" // 缘分牵线设置 缘分牵线 1开启 0关闭
  314. #define Mine_getFateMatch @"/api/user/getFateMatch" // 获取缘分牵线设置 缘分牵线 1开启 0关闭
  315. #define Mine_setLikesNotification @"/api/user/setUserLikeStatus" // 点赞通知设置 点赞通知 1开启 0关闭
  316. #define Mine_getLikesNotification @"/api/user/getUserLikeStatus" // 获取点赞通知设置 点赞通知 1开启 0关闭
  317. //首页搜索相关
  318. #define ChatRoom_searchLive @"/api/livelist/searchLive" // 直播间搜索
  319. #define ChatRoom_likeList @"/api/talk.Talks/likeList" // 房间搜索
  320. #define ChatRoom_getUserTalk @"/api/user/getUserTalk" // 获取用户是否在语聊房
  321. #define ChatRoom_talkManage @"/api/talk.talks/talkManage" // 房间管理
  322. #define ChatRoom_operationLog @"/api/talk.talks/operationLog" // 操作记录
  323. #define ChatRoom_getDataBefore @"/api/talk.talks/getDataBefore" // 获取语聊房修改前数据(修改资料获取的数据)
  324. #define ChatRoom_setTalkTitleANotice @"/api/talk.TalkSet/setTalkTitleANotice" // 修改房间标题和公告图片(修改资料)
  325. #define ChatRoom_ManManagementList @"/api/talk.talks/ManManagementList" // 人员管理列表
  326. #define ChatRoom_UpdateManManagement @"/api/talk.talks/UpdateManManagement" // 人员管理身份更改
  327. #define ChatRoom_AddManManagement @"/api/talk.talks/AddManManagement" // 人员管理添加
  328. /// 语聊房
  329. #define JoinTalk @"/api/talk.Talks/join_talk" // 加入语聊房
  330. #define UserUpperWheat @"/api/talk.TalksOperation/userUpperWheat" //用户上位
  331. #define GetHotRecommend @"/api/talk.Index/getHotRecommend" //推荐列表
  332. #define LowerSeats @"/api/talk.TalksOperation/lowerSeats" //用户主动下麦
  333. #define LockSeates @"/api/talk.TalksOperation/lockSeates" // 锁定&解锁座位
  334. #define LowerSeat @"/api/talk.TalkApplyOperation/lowerSeat" // 管理抱下麦
  335. #define CloseAOpenSeatSay @"/api/talk.TalksOperation/closeAOpenSeatSay" // 管理员闭麦或打开麦
  336. #define InviteUpperSeat @"/api/talk.TalkApplyOperation/inviteUpperSeat" // 管理邀请用户上麦
  337. #define GetTalkOnlineUser @"/api/talk.Talks/getTalkOnlineUser" // 获取语聊房在线用户
  338. #define UserAgreeSeat @"/api/talk.TalkApplyOperation/userAgreeSeat" // 用户同意&拒绝上麦
  339. #define ApplyList @"/api/talk.TalkApplyOperation/applyList" // 获取房间麦序列表
  340. #define RejectApply @"/api/talk.TalkApplyOperation/rejectApply" //管理忽略申请上麦
  341. #define HoldSeat @"/api/talk.TalkApplyOperation/holdSeat" //管理抱上麦
  342. #define FollowRooms @"/api/talk.Talks/followRooms" // 房间关注
  343. #define FollowRoomsCancel @"/api/talk.Talks/followRoomsCancel" // 房间关注取消
  344. #define GetTalkUserRank @"/api/talk.Talks/getTalkUserRank" // 获取语聊房排名
  345. #define SetTalkTitleANotice @"/api/talk.TalkSet/setTalkTitleANotice" // 修改房间标题和公告图片
  346. #define ChatRoomSendMessage @"/api/talk.Talks/send_message" // 语聊房发送消息
  347. #define SetTalkType @"/api/talk.TalkSet/setTalkType" // 修改麦序模式
  348. #define ClearTalk @"/api/talk.TalkSet/clearTalk" // 房间清空公屏
  349. #define OpenACloseTalk @"/api/talk.TalkSet/openACloseTalk" // 开启关闭公屏
  350. #define SetTalkPwd @"/api/talk.TalkSet/setTalkPwd" // 设置房间密码
  351. #define ForbidUser @"/api/talk.TalkSet/forbidUser" // 禁言&解除禁言 踢人 解除踢人
  352. #define OutTalk @"/api/talk.Talks/out_talk" // 用户退出语聊房
  353. #define GetForbidUserList @"/api/talk.TalkSet/getForbidUserList" // 获取禁言 踢人列表
  354. #define GetExpressionCate @"/api/expressions/GetExpressionCate" // 获取表情包分类
  355. #define GetReportType @"/api/talk.TalksOperation/getReportType" // 获取举报类型
  356. #define ChatRoomReport @"/api/talk.TalksOperation/report" // 语聊房举报
  357. #define SendEmoji @"/api/talk.talks/sendEmo" // 发送表情
  358. #define GetRoomStatus @"/api/talk.talks/getRoomStatus" // 查询房间是否上锁
  359. #define TalkSendGift @"/api/talk.sendGift/talkSendGift" // 语聊房送礼
  360. #define TalkSendGuard @"/api/talk.sendGift/talkSendGuard" // 语聊房守护
  361. #define ChatroomCardiac @"/api/talk.talk_set/cardiac" //切换房间玩法
  362. #define ChatroomClearCardiac @"/api/talk.talk_set/clearCardiac" //清空心动值
  363. #define ChatRoomBlindDateChange @"/api/talk.talk_set/blindDateChange" //相亲玩法切换
  364. #define ChatRoomBlindDateSelect @"/api/talk.talk_set/blindDateSelect" //心动选择
  365. #define ChatRoomBackgoundImageList @"/api/talk.talk_set/getTalkBg" // 获取所有背景图
  366. #define ChatRoomSelectedBackgoundImage @"/api/talk.talk_set/setTalkBg" // 选择背景图
  367. #define ChatRoomClearUserCardiac @"/api/talk.talk_set/clearUserCardiac" // 清空部分用户心动值
  368. #define GetAllSongs @"/api/talk.music/getAllSongs" // 语聊房声网音乐列表
  369. #define GetSong @"/api/talk.music/getSong" // 点播歌曲
  370. #define AddMySong @"/api/talk.music/addMySong" // 添加我的歌曲
  371. #define DelMySong @"/api/talk.music/delMySong" // 删除我的歌曲
  372. #define MySongs @"/api/talk.music/MySongs" // 我的歌曲列表
  373. #define IsChat @"/api/user/is_chat" // 获取是否可以私信
  374. #define api_getUserTag @"/api/user/getUserTag"
  375. // v1.8
  376. #define api_Improve_data @"/api/user/improve_data"
  377. #define api_compareFacesAvatar @"/api/user/compareFacesAvatar"
  378. #define api_getSelectData @"/api/user/getSelectData"
  379. #define api_greetlists_new @"/api/greet/lists_new"
  380. #define api_greetset_default @"/api/greet/set_default"
  381. #define api_greetdelete_new @"/api/greet/delete_new"
  382. #define api_greetset_name @"/api/greet/set_name"
  383. #define GetIntimateList @"/api/chat_intimate/getIntimateList" //获取亲密列表
  384. #define ReceiveTaskReward @"/api/user/receiveTaskReward" // 用户领取红包
  385. #define SendTipMsg @"/api/index/send_tip_msg" // 发送提示消息
  386. #define ShareTask @"/api/task/share_task" //任务 分享
  387. #define OpenMatching @"/api/matching.matching/addMatching" //开启音视频匹配
  388. #define CloseMatching @"/api/matching.matching/cancelMatching" //关闭音视频匹配
  389. #define ReceiveMatching @"/api/matching.matching/handelMatchCall" //接受音视频匹配
  390. #define MemberRechargeInfo @"/api/vip/nobleRecharge"// 会员充值信息
  391. #define SubmitMemberRechargeInfo @"/api/vipOrder/payNobleOrder"// 提交会员充值信息
  392. #define PersonalPageInfo @"/api/user/getUserIndex" //个人主页
  393. #define DetectionAccountBalanceRechargeInfo @"/api/v2/index/user/rechargeWarning"// 检测账户余额充值信息
  394. #define AccountBalanceRechargeWeChatPay @"/api/pay/pay_type"// 账户余额充值微信支付 1安卓 2ios 3h5
  395. #define WithdrawalRecordsInfo @"/api/wallet/cashout_record"// 提现记录信息
  396. #define WithdrawalAccountList @"/api/wallet/account_list" // 提现账号列表
  397. #define DefaultWithdrawalAccount @"/api/wallet/account_use" // 默认提现账号
  398. #define BindWithdrawalAccount @"/api/wallet/account_save" // 绑定提现账号
  399. #define InvitingPrizesInfo @"/api/user/invite_overview" // 邀请概览
  400. #define InvitingPrizesPoster @"/api/share/poster" // 邀请海报
  401. #define InvitingPersonsList @"/api/user/invite_list" // 邀请人列表
  402. #define InvitingEarningsList @"/api/user/invite_reward_list" // 邀请收益列表
  403. #define CallChatType @"/api/chat/call_new" //视频通话 type 0视频 1语音
  404. #define SubmitCancellationAccount @"/api/passport/close_account"//注销账号
  405. #define HomePageSearch @"/api/index/getUserInfoByUserCode"
  406. #define ApplyWithdrawal @"/api/wallet/user_withdraw_new" //用户申请提现
  407. #define CallRecordList @"/api/User/userCallList" //通话记录
  408. #define DynamicDetail @"/api/dynamic/detail" //动态详情
  409. #define DynamicDetailCommentList @"/api/dynamicComment/lists" //动态详情评论
  410. #define DynamicMessagesList @"/api/dynamic/record" //动态消息
  411. #define DynamicComment @"/api/dynamicComment/comment" //动态评论 dynamic_id 评论动态 回复动态comment_id content内容
  412. #define DynamicLike @"/api/dynamic/like" //动态点赞
  413. #define GuildManagementMyConnectionsList @"/api/contacts/income" //公会管理我的人脉
  414. #endif /* ServerURL_h */