Commit 3613f54d774562e3992f3034a20730abec4a8fe3

Authored by zhangxiaowen
1 parent a8f95dfb

no message

CNLiveEnvironment/Classes/CNLiveEnvironment.h
@@ -23,13 +23,13 @@ @@ -23,13 +23,13 @@
23 #define AppDownloadUrl [CNLiveEnvironmentManager manager].AppDownloadUrl 23 #define AppDownloadUrl [CNLiveEnvironmentManager manager].AppDownloadUrl
24 #define ShareDarenHomeUrl [CNLiveEnvironmentManager manager].ShareDarenHomeUrl 24 #define ShareDarenHomeUrl [CNLiveEnvironmentManager manager].ShareDarenHomeUrl
25 25
26 -#define WjjH5_Host(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].kWjjH5_Host,url]  
27 -#define API_Host(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].kAPI_Host,url]  
28 -#define API_Contact(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].kAPI_Contact,url]  
29 -#define API_Refund(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].kAPI_Refund,url]  
30 -#define API_Report(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].kAPI_Report,url]  
31 -#define API_OpenApi2(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].kAPI_OpenApi2,url]  
32 -#define API_Classify(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].kAPI_Classify,url] 26 +#define WjjH5_Host(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kWjjH5_Host,url]
  27 +#define API_Host(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Host,url]
  28 +#define API_Contact(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Contact,url]
  29 +#define API_Refund(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Refund,url]
  30 +#define API_Report(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Report,url]
  31 +#define API_OpenApi2(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_OpenApi2,url]
  32 +#define API_Classify(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Classify,url]
33 33
34 // BundleId 34 // BundleId
35 #define BundleId [CNLiveEnvironmentManager manager].bundleId 35 #define BundleId [CNLiveEnvironmentManager manager].bundleId
CNLiveEnvironment/Classes/CNLiveEnvironmentInterface.h
@@ -13,419 +13,419 @@ @@ -13,419 +13,419 @@
13 //上传手机通讯录和 生成订单二维码时,DES加密key 13 //上传手机通讯录和 生成订单二维码时,DES加密key
14 #define kUploadContactsKey @"cnliveIm" 14 #define kUploadContactsKey @"cnliveIm"
15 15
16 -#define iUploadContacts API_Contact(@"CnliveIM/notify/uploadContacts.action") 16 +#define iUploadContacts API_Contact(@"/CnliveIM/notify/uploadContacts.action")
17 //其他投诉 17 //其他投诉
18 -#define CNLiveCNReporthtml WjjH5_Host(@"cnReport.html")) 18 +#define CNLiveCNReporthtml WjjH5_Host(@"/cnReport.html"))
19 19
20 //特色群活动必要说明 20 //特色群活动必要说明
21 -#define CNActivityManageUrl API_Refund(@"term/ActivityManagement.html") 21 +#define CNActivityManageUrl API_Refund(@"/term/ActivityManagement.html")
22 22
23 //特色群投票必要说明 23 //特色群投票必要说明
24 -#define CNVoteManageUrl API_Refund(@"term/VoteManagement.html") 24 +#define CNVoteManageUrl API_Refund(@"/term/VoteManagement.html")
25 25
26 //订阅号特色群活动必要说明 26 //订阅号特色群活动必要说明
27 -#define CNActivityManageSPUrl WjjH5_Host(@"cnGroupDescription.html?type=hdgl") 27 +#define CNActivityManageSPUrl WjjH5_Host(@"/cnGroupDescription.html?type=hdgl")
28 28
29 //订阅号特色群投票必要说明 29 //订阅号特色群投票必要说明
30 -#define CNVoteManageSPUrl WjjH5_Host(@"cnGroupDescription.html?type=tp") 30 +#define CNVoteManageSPUrl WjjH5_Host(@"/cnGroupDescription.html?type=tp")
31 31
32 //获取生活号列表 32 //获取生活号列表
33 -#define CNGetLifeSubsUrl API_Host(@"Daren/sub/getLifeSubs.action") 33 +#define CNGetLifeSubsUrl API_Host(@"/Daren/sub/getLifeSubs.action")
34 34
35 //获取达人号列表 35 //获取达人号列表
36 -#define CNGetDarenSubsUrl API_Host (@"Daren/sub/getDarenSubs.action") 36 +#define CNGetDarenSubsUrl API_Host (@"/Daren/sub/getDarenSubs.action")
37 37
38 //达人号列表删除某达人 38 //达人号列表删除某达人
39 -#define CNDarenSubsDeleteDarenUrl API_Host(@"Daren/sub/deleteDarenSubs.action") 39 +#define CNDarenSubsDeleteDarenUrl API_Host(@"/Daren/sub/deleteDarenSubs.action")
40 40
41 //添加某个收藏 41 //添加某个收藏
42 -#define CNDarenSubsCollectionUrl API_Host(@"Daren/stock/collection.action") 42 +#define CNDarenSubsCollectionUrl API_Host(@"/Daren/stock/collection.action")
43 43
44 //收藏界面删除某个收藏 44 //收藏界面删除某个收藏
45 -#define CNDarenSubsDeleteCollectionUrl API_Host(@"Daren/stock/deleteCollection.action") 45 +#define CNDarenSubsDeleteCollectionUrl API_Host(@"/Daren/stock/deleteCollection.action")
46 46
47 //达人主页 47 //达人主页
48 -#define CNDarenHomeUrl API_Host(@"Daren/sub/getDarenHome.action") 48 +#define CNDarenHomeUrl API_Host(@"/Daren/sub/getDarenHome.action")
49 49
50 //获取收藏结果详情 50 //获取收藏结果详情
51 -#define CNDarenCollectListDataSourceUrl API_Host(@"Daren/stock/getCollectionList.action") 51 +#define CNDarenCollectListDataSourceUrl API_Host(@"/Daren/stock/getCollectionList.action")
52 52
53 //生活号主页 53 //生活号主页
54 -#define CNLifeHomeUrl API_Host(@"Daren/sub/getLifeHome.action") 54 +#define CNLifeHomeUrl API_Host(@"/Daren/sub/getLifeHome.action")
55 55
56 //删除生活号 56 //删除生活号
57 -#define CNLiveLifeDeleteUrl API_Host(@"Daren/sub/deleteLifeSubs.action") 57 +#define CNLiveLifeDeleteUrl API_Host(@"/Daren/sub/deleteLifeSubs.action")
58 58
59 //通过手机号查找好友 59 //通过手机号查找好友
60 -#define CNSearchByPhoneNumUrl API_Contact(@"CnliveIM/notify/searchByPhoneNumber.action") 60 +#define CNSearchByPhoneNumUrl API_Contact(@"/CnliveIM/notify/searchByPhoneNumber.action")
61 61
62 62
63 //获取已关注的达人列表 63 //获取已关注的达人列表
64 -#define CNGetDarensUrl API_Host(@"Daren/sub/getDarens.action") 64 +#define CNGetDarensUrl API_Host(@"/Daren/sub/getDarens.action")
65 65
66 //获取达人的粉丝列表 66 //获取达人的粉丝列表
67 -#define CNGetFansUrl API_Host(@"Daren/sub/getFans.action") 67 +#define CNGetFansUrl API_Host(@"/Daren/sub/getFans.action")
68 68
69 //评价列表 69 //评价列表
70 -#define CNGetDarenCommentUrl API_Host(@"Daren/hudong/getDarenComment.action") 70 +#define CNGetDarenCommentUrl API_Host(@"/Daren/hudong/getDarenComment.action")
71 71
72 //获取达人相关信息 72 //获取达人相关信息
73 -#define CNGetDarenByIdUrl API_Host(@"Daren/member/getDarenById.action") 73 +#define CNGetDarenByIdUrl API_Host(@"/Daren/member/getDarenById.action")
74 74
75 #pragma mark - 定义消息 75 #pragma mark - 定义消息
76 //获取子群组 76 //获取子群组
77 -#define CNGetGroupChildren API_Classify(@"contentApi/getGroupChildren") 77 +#define CNGetGroupChildren API_Classify(@"/contentApi/getGroupChildren")
78 // 退群群 78 // 退群群
79 -#define CNDeleteGroupMember API_Host(@"Daren/groupManagement/deleteGroupMember.action") 79 +#define CNDeleteGroupMember API_Host(@"/Daren/groupManagement/deleteGroupMember.action")
80 80
81 //发送自定义消息 81 //发送自定义消息
82 -#define CNFriendshipVerifyUrl API_Contact(@"CnliveIM/notify/custMsgPush.action") 82 +#define CNFriendshipVerifyUrl API_Contact(@"/CnliveIM/notify/custMsgPush.action")
83 //音视频自定义消息 83 //音视频自定义消息
84 -#define CNVideoOrAudioUrl API_Contact(@"CnliveIM/notify/custMsgPush.action") 84 +#define CNVideoOrAudioUrl API_Contact(@"/CnliveIM/notify/custMsgPush.action")
85 85
86 //音视频取得房间号 86 //音视频取得房间号
87 -#define CNVideoOrAudioGetRoomID API_Host(@"Daren/common/getRoomId.action") 87 +#define CNVideoOrAudioGetRoomID API_Host(@"/Daren/common/getRoomId.action")
88 88
89 //发送文本消息 89 //发送文本消息
90 -#define CNTextMsgPushUrl API_Contact(@"CnliveIM/notify/textMsgPush.action") 90 +#define CNTextMsgPushUrl API_Contact(@"/CnliveIM/notify/textMsgPush.action")
91 91
92 //生成二维码 92 //生成二维码
93 -#define CNGenOrResetCodeUrl API_Host(@"Daren/qrcode/genOrResetQrCode.action") 93 +#define CNGenOrResetCodeUrl API_Host(@"/Daren/qrcode/genOrResetQrCode.action")
94 //撤回消息 94 //撤回消息
95 -#define CNRevokebatchsendmsg API_Contact(@"CnliveIM/notify/revokeBatchSendMsg.action") 95 +#define CNRevokebatchsendmsg API_Contact(@"/CnliveIM/notify/revokeBatchSendMsg.action")
96 //检验二维码 96 //检验二维码
97 -#define CNCheckOrNewCodeUrl API_Host(@"Daren/qrcode/checkQrCode.action") 97 +#define CNCheckOrNewCodeUrl API_Host(@"/Daren/qrcode/checkQrCode.action")
98 //扫码支付生成订单 98 //扫码支付生成订单
99 -#define CNCheckAddOrderForDarenUrl API_Host(@"Daren/order/addOrder.action") 99 +#define CNCheckAddOrderForDarenUrl API_Host(@"/Daren/order/addOrder.action")
100 //目击者 100 //目击者
101 -#define CNChecksigninfoDarenUrl API_Host(@"Daren/sign/checkSignInfo.action") 101 +#define CNChecksigninfoDarenUrl API_Host(@"/Daren/sign/checkSignInfo.action")
102 //扫码返回活动地址 102 //扫码返回活动地址
103 -#define CNCheckQrActivityDarenUrl API_Host(@"Daren/sign/checkQrActivity.action") 103 +#define CNCheckQrActivityDarenUrl API_Host(@"/Daren/sign/checkQrActivity.action")
104 104
105 //获取Gif表情包列表 105 //获取Gif表情包列表
106 -#define CNGifFaceShopListUrl API_Host(@"Daren/section/getSectionList.action") 106 +#define CNGifFaceShopListUrl API_Host(@"/Daren/section/getSectionList.action")
107 //获取一个表情包信息 107 //获取一个表情包信息
108 -#define CNGetGifFacePackageUrl API_Host(@"Daren/section/getSectionDetail.action") 108 +#define CNGetGifFacePackageUrl API_Host(@"/Daren/section/getSectionDetail.action")
109 109
110 #pragma mark - 地址管理相关 110 #pragma mark - 地址管理相关
111 //添加联系人 111 //添加联系人
112 -#define CNAddContactUrl API_Host(@"Daren/contact/addContact.action") 112 +#define CNAddContactUrl API_Host(@"/Daren/contact/addContact.action")
113 113
114 //查询联系人 114 //查询联系人
115 -#define CNReadContacstUrl API_Host(@"Daren/contact/readContacts.action") 115 +#define CNReadContacstUrl API_Host(@"/Daren/contact/readContacts.action")
116 116
117 //删除联系人 117 //删除联系人
118 -#define CNDeleteContacstUrl API_Host(@"Daren/contact/deleteContact.action") 118 +#define CNDeleteContacstUrl API_Host(@"/Daren/contact/deleteContact.action")
119 119
120 //更新联系人 120 //更新联系人
121 -#define CNUpdateContacstUrl API_Host(@"Daren/contact/updateContact.action") 121 +#define CNUpdateContacstUrl API_Host(@"/Daren/contact/updateContact.action")
122 122
123 123
124 #pragma mark - 订单相关 124 #pragma mark - 订单相关
125 //取消订单 125 //取消订单
126 -#define CNOrderCancelUrl API_Host(@"Daren/order/cancelOrder.action") 126 +#define CNOrderCancelUrl API_Host(@"/Daren/order/cancelOrder.action")
127 127
128 //订单有误 128 //订单有误
129 -#define CNOrderErrorUrl API_Host(@"Daren/order/correctOrder.action") 129 +#define CNOrderErrorUrl API_Host(@"/Daren/order/correctOrder.action")
130 130
131 //查看订单 131 //查看订单
132 -#define CNOrderCheckUrl API_Host(@"Daren/order/getOrderItem.action") 132 +#define CNOrderCheckUrl API_Host(@"/Daren/order/getOrderItem.action")
133 133
134 //生成订单 134 //生成订单
135 -#define CNOrderCreateUrl API_Host(@"Daren/order/createOrder.action") 135 +#define CNOrderCreateUrl API_Host(@"/Daren/order/createOrder.action")
136 136
137 //修改订单 137 //修改订单
138 -#define CNOrderModifyUrl API_Host(@"Daren/order/modifyOrder.action") 138 +#define CNOrderModifyUrl API_Host(@"/Daren/order/modifyOrder.action")
139 139
140 //确认订单 140 //确认订单
141 -#define CNOrderConfirmUrl API_Host(@"Daren/order/confirmOrder.action") 141 +#define CNOrderConfirmUrl API_Host(@"/Daren/order/confirmOrder.action")
142 142
143 //获取订单详情 143 //获取订单详情
144 -#define CNGetOrderDetailUrl API_Host(@"Daren/order/getOrderItem.action") 144 +#define CNGetOrderDetailUrl API_Host(@"/Daren/order/getOrderItem.action")
145 145
146 //根据订单状态获取订单列表 146 //根据订单状态获取订单列表
147 -#define CNGetOrderListUrl API_Host(@"Daren/order/getOrdersByStatus.action") 147 +#define CNGetOrderListUrl API_Host(@"/Daren/order/getOrdersByStatus.action")
148 148
149 //申请退款 149 //申请退款
150 -#define CNApplyRefundUrl API_Host(@"Daren/order/applyRefund.action") 150 +#define CNApplyRefundUrl API_Host(@"/Daren/order/applyRefund.action")
151 151
152 //删除订单 152 //删除订单
153 -#define CNDeleteOrderUrl API_Host(@"Daren/order/deleteOrder.action") 153 +#define CNDeleteOrderUrl API_Host(@"/Daren/order/deleteOrder.action")
154 154
155 //催单 155 //催单
156 -#define CNRemindOrderUrl API_Contact(@"CnliveIM/notify/remind.action") 156 +#define CNRemindOrderUrl API_Contact(@"/CnliveIM/notify/remind.action")
157 157
158 //确认收货 158 //确认收货
159 -#define CNConfirmRecvUrl API_Host(@"Daren/order/confirmRecv.action") 159 +#define CNConfirmRecvUrl API_Host(@"/Daren/order/confirmRecv.action")
160 160
161 //评价 161 //评价
162 -#define CNCommentDarenUrl API_Host(@"Daren/hudong/commentDaren.action") 162 +#define CNCommentDarenUrl API_Host(@"/Daren/hudong/commentDaren.action")
163 163
164 //退款原因 164 //退款原因
165 -#define CNRefunfReasonUrl API_Refund(@"json/refundReason.json") 165 +#define CNRefunfReasonUrl API_Refund(@"/json/refundReason.json")
166 166
167 167
168 #pragma mark - 发布 168 #pragma mark - 发布
169 //发布视频 短视频接入点播云接口 169 //发布视频 短视频接入点播云接口
170 -#define CNPublishVideoUrl API_OpenApi2(@"vod_epg/svInputMamForAPP") 170 +#define CNPublishVideoUrl API_OpenApi2(@"/vod_epg/svInputMamForAPP")
171 171
172 //发布视频 短视频上传获取bucket接口(七牛) 172 //发布视频 短视频上传获取bucket接口(七牛)
173 -#define CNUploadGetBucketUrl API_OpenApi2(@"storage/getStorageInfo") 173 +#define CNUploadGetBucketUrl API_OpenApi2(@"/storage/getStorageInfo")
174 174
175 //发布图片,上传鉴权接口(七牛) 175 //发布图片,上传鉴权接口(七牛)
176 -#define CNUploadAuthForApp API_OpenApi2(@"vod_epg/getUploadAuthForApp") 176 +#define CNUploadAuthForApp API_OpenApi2(@"/vod_epg/getUploadAuthForApp")
177 177
178 //上传视频成功的回调url 178 //上传视频成功的回调url
179 -#define CNStockDarenVideoCallBackUrl API_Host(@"Daren/stock/stockDarenVideo.action") 179 +#define CNStockDarenVideoCallBackUrl API_Host(@"/Daren/stock/stockDarenVideo.action")
180 180
181 //发布获取上冰雪banner url 181 //发布获取上冰雪banner url
182 -#define CNPublishGetSnowBannerUrl API_Host(@"Daren/snow/getSnowBanner.action") 182 +#define CNPublishGetSnowBannerUrl API_Host(@"/Daren/snow/getSnowBanner.action")
183 183
184 184
185 #pragma mark - 检验群公告敏感词 185 #pragma mark - 检验群公告敏感词
186 -#define CNCheckFeaturedGroup API_Host(@"Daren/announcementCheck/checkFeaturedGroup.action") 186 +#define CNCheckFeaturedGroup API_Host(@"/Daren/announcementCheck/checkFeaturedGroup.action")
187 187
188 #pragma mark - 特色群组活动管理 188 #pragma mark - 特色群组活动管理
189 //获取群组活动收费记录 189 //获取群组活动收费记录
190 -#define CNActiveGroupFundsRecordsUrl API_Host(@"Daren/groupManagement/groupFundsRecords.action") 190 +#define CNActiveGroupFundsRecordsUrl API_Host(@"/Daren/groupManagement/groupFundsRecords.action")
191 191
192 //获取投票详情 192 //获取投票详情
193 -#define CNGetVoteMsgSourceUrl API_Host(@"Daren/vote/getVoteMsg.action") 193 +#define CNGetVoteMsgSourceUrl API_Host(@"/Daren/vote/getVoteMsg.action")
194 194
195 //获取收费详情 195 //获取收费详情
196 -#define CNQueryActivityFeeSourceUrl API_Host(@"Daren/groupManagement/queryActivityFee.action") 196 +#define CNQueryActivityFeeSourceUrl API_Host(@"/Daren/groupManagement/queryActivityFee.action")
197 197
198 //历任群主列表 198 //历任群主列表
199 -#define CNGetSuccessiveGroupListUrl API_Host(@"Daren/groupManagement/getSuccessiveGroupList.action") 199 +#define CNGetSuccessiveGroupListUrl API_Host(@"/Daren/groupManagement/getSuccessiveGroupList.action")
200 200
201 //获取投票记录的列表 201 //获取投票记录的列表
202 -#define CNGetVotesSourceListUrl API_Host(@"Daren/vote/getVotes.action") 202 +#define CNGetVotesSourceListUrl API_Host(@"/Daren/vote/getVotes.action")
203 203
204 //拉起支付并做定点预处理 204 //拉起支付并做定点预处理
205 -#define CNPayByGroupMembersUrl API_Host(@"Daren/groupManagement/payByGroupMembers.action") 205 +#define CNPayByGroupMembersUrl API_Host(@"/Daren/groupManagement/payByGroupMembers.action")
206 206
207 //获取支付状态 207 //获取支付状态
208 -#define CNCheckPaymentSourceUrl API_Host(@"Daren/groupManagement/checkPayment.action") 208 +#define CNCheckPaymentSourceUrl API_Host(@"/Daren/groupManagement/checkPayment.action")
209 209
210 //投票 210 //投票
211 -#define CNGroupVoteSourceUrl API_Host(@"Daren/vote/groupVote.action") 211 +#define CNGroupVoteSourceUrl API_Host(@"/Daren/vote/groupVote.action")
212 212
213 //删除投票 213 //删除投票
214 -#define CNStopVoteSourceUrl API_Host(@"Daren/vote/stopVote.action") 214 +#define CNStopVoteSourceUrl API_Host(@"/Daren/vote/stopVote.action")
215 215
216 //获取提现的秘钥获取 216 //获取提现的秘钥获取
217 -#define CNGetCurrentKeySourceUrl API_Host(@"Daren/groupManagement/getCurrentKey.action") 217 +#define CNGetCurrentKeySourceUrl API_Host(@"/Daren/groupManagement/getCurrentKey.action")
218 218
219 //验证秘钥的发送 219 //验证秘钥的发送
220 -#define CNSendSecretKeySourceUrl API_Host(@"Daren/groupManagement/sendSecretKey.action") 220 +#define CNSendSecretKeySourceUrl API_Host(@"/Daren/groupManagement/sendSecretKey.action")
221 221
222 //秘钥的验证 222 //秘钥的验证
223 -#define CNGroupManagementCheckKeyUrl API_Host(@"Daren/groupManagement/checkKey.action") 223 +#define CNGroupManagementCheckKeyUrl API_Host(@"/Daren/groupManagement/checkKey.action")
224 224
225 //网++支付的预支付订单生成 & 网++ 余额支付 225 //网++支付的预支付订单生成 & 网++ 余额支付
226 -#define CNGroupWjjPayWjjPrePaySourceUrl API_Host(@"Daren/wjjPay/unifiedOrder.action") 226 +#define CNGroupWjjPayWjjPrePaySourceUrl API_Host(@"/Daren/wjjPay/unifiedOrder.action")
227 227
228 //网++ 余额支付 228 //网++ 余额支付
229 -#define CNGroupWjjPayWjjSourceUrl API_Host(@"Daren/wjjPay/unifiedPay.action") 229 +#define CNGroupWjjPayWjjSourceUrl API_Host(@"/Daren/wjjPay/unifiedPay.action")
230 230
231 //返回公钥&随机AESKey 231 //返回公钥&随机AESKey
232 -#define CNGroupReturnEncryptKeyUrl API_Host(@"Daren/wjjPay/getKey.action") 232 +#define CNGroupReturnEncryptKeyUrl API_Host(@"/Daren/wjjPay/getKey.action")
233 233
234 //获取分享下载的地址 234 //获取分享下载的地址
235 -#define CNShareDownloadSourceUrl API_Host(@"Daren/common/appDownLoadUrl.action") 235 +#define CNShareDownloadSourceUrl API_Host(@"/Daren/common/appDownLoadUrl.action")
236 236
237 //获取分享达人主页的地址 237 //获取分享达人主页的地址
238 -#define CNShareDarenHomeSourceUrl API_Host(@"Daren/common/shareDarenHomePage.action") 238 +#define CNShareDarenHomeSourceUrl API_Host(@"/Daren/common/shareDarenHomePage.action")
239 239
240 //扫码获取棉花糖信息 240 //扫码获取棉花糖信息
241 -#define CNOrderMHTSourceUrl API_Host(@"Daren/order/addOrderMHT.action") 241 +#define CNOrderMHTSourceUrl API_Host(@"/Daren/order/addOrderMHT.action")
242 242
243 //订阅号特色群群组转账状态查询 243 //订阅号特色群群组转账状态查询
244 -#define CNQueryTransferUrl API_Host(@"Daren/groupManagement/getQueryTransfer.action") 244 +#define CNQueryTransferUrl API_Host(@"/Daren/groupManagement/getQueryTransfer.action")
245 245
246 #pragma mark - 朋友圈 246 #pragma mark - 朋友圈
247 //发布上冰雪图文 247 //发布上冰雪图文
248 -#define CNPublishSnowUrl API_Host(@"Daren/snow/releaseSnow.action") 248 +#define CNPublishSnowUrl API_Host(@"/Daren/snow/releaseSnow.action")
249 249
250 //发布朋友圈 250 //发布朋友圈
251 -#define CNPublishFriendsCircleUrl API_Host(@"Daren/moment/releaseMoment.action") 251 +#define CNPublishFriendsCircleUrl API_Host(@"/Daren/moment/releaseMoment.action")
252 // 选择圈子 252 // 选择圈子
253 -#define CNGetPublishTypeListUrl API_Host(@"Daren/publishType/getPublishTypeList.action") 253 +#define CNGetPublishTypeListUrl API_Host(@"/Daren/publishType/getPublishTypeList.action")
254 254
255 //目击者发布朋友圈 255 //目击者发布朋友圈
256 -#define CNPublishWintessCircleUrl API_Host(@"Daren/witness/releaseWitness.action") 256 +#define CNPublishWintessCircleUrl API_Host(@"/Daren/witness/releaseWitness.action")
257 //获取朋友圈内容 257 //获取朋友圈内容
258 -#define CNGetFriendsCircleContentUrl API_Host(@"Daren/moment/friendMoment.action") 258 +#define CNGetFriendsCircleContentUrl API_Host(@"/Daren/moment/friendMoment.action")
259 259
260 //获取我的朋友圈内容(我的发布记录) 260 //获取我的朋友圈内容(我的发布记录)
261 -#define CNGetMyCircleContentUrl API_Host(@"Daren/moment/myMoment.action") 261 +#define CNGetMyCircleContentUrl API_Host(@"/Daren/moment/myMoment.action")
262 262
263 //朋友圈评论或回复 263 //朋友圈评论或回复
264 -#define CNFirendsCircleCommentReplyUrl API_Host(@"Daren/hudong/commentMoment.action") 264 +#define CNFirendsCircleCommentReplyUrl API_Host(@"/Daren/hudong/commentMoment.action")
265 265
266 //删除朋友圈评论 266 //删除朋友圈评论
267 -#define CNFirendsCircleCommentDeleteUrl API_OpenApi2(@"commentServices/services/commentForChat/delete" 267 +#define CNFirendsCircleCommentDeleteUrl API_OpenApi2(@"/commentServices/services/commentForChat/delete"
268 268
269 //删除好友时,调用接口 269 //删除好友时,调用接口
270 -#define CNDeleteFriendUrl API_Host(@"Daren/sub/deleteFriend.action") 270 +#define CNDeleteFriendUrl API_Host(@"/Daren/sub/deleteFriend.action")
271 271
272 //删除我的朋友圈某条内容 272 //删除我的朋友圈某条内容
273 -#define CNDeleteMyMomentItemUrl API_Host(@"Daren/moment/deleteMyMoment.action") 273 +#define CNDeleteMyMomentItemUrl API_Host(@"/Daren/moment/deleteMyMoment.action")
274 274
275 //删除我的相关收藏 275 //删除我的相关收藏
276 -#define CNDeleteMyCollectionItemUrl API_Host(@"Daren/stock/collection.action") 276 +#define CNDeleteMyCollectionItemUrl API_Host(@"/Daren/stock/collection.action")
277 277
278 //读取朋友圈某条动态的评论(含回复) 278 //读取朋友圈某条动态的评论(含回复)
279 -#define CNGetMomentAllCommontUrl API_OpenApi2(@"commentServices/services/commentForChat/readAll")) 279 +#define CNGetMomentAllCommontUrl API_OpenApi2(@"/commentServices/services/commentForChat/readAll"))
280 280
281 //读取朋友圈某条动态的点赞列表 281 //读取朋友圈某条动态的点赞列表
282 -#define CNGetMomentAllFavoriteUrl API_OpenApi2(@"support/readAll")) 282 +#define CNGetMomentAllFavoriteUrl API_OpenApi2(@"/support/readAll"))
283 283
284 //读取朋友圈某条动态的点赞列表(新接口) 284 //读取朋友圈某条动态的点赞列表(新接口)
285 -#define CNGetMomentAllNEWFavoriteUrl API_OpenApi2(@"support/loadSupport" 285 +#define CNGetMomentAllNEWFavoriteUrl API_OpenApi2(@"/support/loadSupport"
286 286
287 //朋友圈某条动态点赞 287 //朋友圈某条动态点赞
288 -#define CNFavoriteMomentUrl API_Host(@"Daren/moment/praiseMoment.action") 288 +#define CNFavoriteMomentUrl API_Host(@"/Daren/moment/praiseMoment.action")
289 289
290 ////获取朋友圈新消息数量 290 ////获取朋友圈新消息数量
291 -//#define CNGetMomentNewMsgCountUrl API_Host(@"Daren/moment/getNewMsg.action") 291 +//#define CNGetMomentNewMsgCountUrl API_Host(@"/Daren/moment/getNewMsg.action")
292 292
293 //获取朋友圈新消息详细 293 //获取朋友圈新消息详细
294 -#define CNGetMomentNewMsgListUrl API_Host(@"Daren/moment/getNewMsgList.action") 294 +#define CNGetMomentNewMsgListUrl API_Host(@"/Daren/moment/getNewMsgList.action")
295 295
296 //获取朋友圈记录详情 296 //获取朋友圈记录详情
297 -#define CNGetMomentDetailUrl API_Host(@"Daren/moment/getMomentDetail.action") 297 +#define CNGetMomentDetailUrl API_Host(@"/Daren/moment/getMomentDetail.action")
298 298
299 //清空新消息 299 //清空新消息
300 -#define CNDeleteNewMsgUrl API_Host(@"Daren/moment/deleteNewMsg.action") 300 +#define CNDeleteNewMsgUrl API_Host(@"/Daren/moment/deleteNewMsg.action")
301 301
302 //个人资料相册 302 //个人资料相册
303 -#define CNLookUpMyMsgCommontUrl API_Host(@"Daren/moment/lookUpMyMsg.action") 303 +#define CNLookUpMyMsgCommontUrl API_Host(@"/Daren/moment/lookUpMyMsg.action")
304 304
305 #pragma mark - 分类 305 #pragma mark - 分类
306 //分类频道(旧) 306 //分类频道(旧)
307 -//#define CNCategoryGetChannelUrl API_Host(@"Daren/center/getChannel.action") 307 +//#define CNCategoryGetChannelUrl API_Host(@"/Daren/center/getChannel.action")
308 //分类频道(新) 308 //分类频道(新)
309 -#define CNCategoryGetChannelUrl API_Classify(@"contentApi/app" 309 +#define CNCategoryGetChannelUrl API_Classify(@"/contentApi/app"
310 //分类首页(旧 18.5.28) 310 //分类首页(旧 18.5.28)
311 -//#define CNCategoryCenterPageUrl API_Host(@"Daren/center/getCenterPage.action") 311 +//#define CNCategoryCenterPageUrl API_Host(@"/Daren/center/getCenterPage.action")
312 //分类首页(新) 312 //分类首页(新)
313 -#define CNCategoryCenterPageUrl API_Host(@"Daren/classify/getNewCenterPage.action") 313 +#define CNCategoryCenterPageUrl API_Host(@"/Daren/classify/getNewCenterPage.action")
314 314
315 //分类次级页面-达人列表 315 //分类次级页面-达人列表
316 -#define CNGetDarensByCategoryUrl API_Host(@"Daren/classify/getNewDarensByCategory.action")  
317 -//#define CNGetDarensByCategoryUrl API_Host(@"Daren/center/getDarensByCategory.action") 316 +#define CNGetDarensByCategoryUrl API_Host(@"/Daren/classify/getNewDarensByCategory.action")
  317 +//#define CNGetDarensByCategoryUrl API_Host(@"/Daren/center/getDarensByCategory.action")
318 318
319 //分类次级页面-已关注达人列表 319 //分类次级页面-已关注达人列表
320 -#define CNGetDarensAlreadyUrl API_Host(@"Daren/classify/getDarenList.action") 320 +#define CNGetDarensAlreadyUrl API_Host(@"/Daren/classify/getDarenList.action")
321 //分类次级页面-未关注达人列表 321 //分类次级页面-未关注达人列表
322 -#define CNGetDarensNeverUrl API_Host(@"Daren/classify/getUnFansOrDarenBean.action") 322 +#define CNGetDarensNeverUrl API_Host(@"/Daren/classify/getUnFansOrDarenBean.action")
323 // 关注达人 323 // 关注达人
324 -#define CNAddDarenSubUrl API_Host(@"Daren/sub/addDarenSub.action") 324 +#define CNAddDarenSubUrl API_Host(@"/Daren/sub/addDarenSub.action")
325 // 取消关注 325 // 取消关注
326 -#define CNCancelDarenSubUrl API_Host(@"Daren/sub/cancelDarenSub.action") 326 +#define CNCancelDarenSubUrl API_Host(@"/Daren/sub/cancelDarenSub.action")
327 //分类-搜索 327 //分类-搜索
328 -#define CNCategorySearchDarenUrl API_Host(@"Daren/search/searchDaren.action") 328 +#define CNCategorySearchDarenUrl API_Host(@"/Daren/search/searchDaren.action")
329 //点播-获取评论列表 329 //点播-获取评论列表
330 -#define CNGetCommentListUrl API_OpenApi2(@"commentServices/services/commentForHdBySpId/loadComment" 330 +#define CNGetCommentListUrl API_OpenApi2(@"/commentServices/services/commentForHdBySpId/loadComment"
331 //点播-评论一条节目 331 //点播-评论一条节目
332 -#define CNCommentProgrammaUrl API_OpenApi2(@"commentServices/commentForHdBySpId/insertComment" 332 +#define CNCommentProgrammaUrl API_OpenApi2(@"/commentServices/commentForHdBySpId/insertComment"
333 //点播-点赞一条节目 333 //点播-点赞一条节目
334 -#define CNPraiseProgrammaUrl API_OpenApi2(@"commentServices/commentForHdBySpId/praiseComment" 334 +#define CNPraiseProgrammaUrl API_OpenApi2(@"/commentServices/commentForHdBySpId/praiseComment"
335 335
336 #pragma mark - 听见中国 336 #pragma mark - 听见中国
337 //获取音频播放详情 337 //获取音频播放详情
338 -#define CNAudioPlayerDetailUrl API_Classify(@"playApi/play" 338 +#define CNAudioPlayerDetailUrl API_Classify(@"/playApi/play"
339 //获取音频播放列表 339 //获取音频播放列表
340 -#define CNAlbumAudioListUrl API_Classify(@"contentApi/albumAudioList" 340 +#define CNAlbumAudioListUrl API_Classify(@"/contentApi/albumAudioList"
341 //播放进度回调 341 //播放进度回调
342 -#define CNAudioRecordScheduleUrl API_Classify(@"recordApi/end" 342 +#define CNAudioRecordScheduleUrl API_Classify(@"/recordApi/end"
343 //历史记录列表 343 //历史记录列表
344 -#define CNAudioPastRecordsUrl API_Classify(@"recordApi/getRecords" 344 +#define CNAudioPastRecordsUrl API_Classify(@"/recordApi/getRecords"
345 //删除历史记录列表 345 //删除历史记录列表
346 -#define CNAudioDeletePastRecordsUrl API_Classify(@"recordApi/delete" 346 +#define CNAudioDeletePastRecordsUrl API_Classify(@"/recordApi/delete"
347 // 简介列表 347 // 简介列表
348 -#define CNAlbumMsgUrl API_Classify(@"contentApi/getAlbumMsg" 348 +#define CNAlbumMsgUrl API_Classify(@"/contentApi/getAlbumMsg"
349 //节目列表 349 //节目列表
350 -#define CNAlbumListUrl API_Classify(@"contentApi/albumAudioList" 350 +#define CNAlbumListUrl API_Classify(@"/contentApi/albumAudioList"
351 351
352 #pragma mark - 体育中国 352 #pragma mark - 体育中国
353 //体育中国-约跑路线 353 //体育中国-约跑路线
354 -#define CNSportsChinaRunningRouteUrl API_Host(@"Daren/event/getEventList.action") 354 +#define CNSportsChinaRunningRouteUrl API_Host(@"/Daren/event/getEventList.action")
355 //体育中国-我的活动 355 //体育中国-我的活动
356 -#define CNSportsChinaMyActivitiesUrl API_Host(@"Daren/event/getMySportActivity.action") 356 +#define CNSportsChinaMyActivitiesUrl API_Host(@"/Daren/event/getMySportActivity.action")
357 //体育中国-我的记录 357 //体育中国-我的记录
358 -#define CNSportsChinaMyRecordUrl API_Host(@"Daren/event/getRouteRecordList.action") 358 +#define CNSportsChinaMyRecordUrl API_Host(@"/Daren/event/getRouteRecordList.action")
359 //体育中国-活动成绩 359 //体育中国-活动成绩
360 -#define CNSportsChinaActivitiyGradeUrl API_Host(@"Daren/event/getByEventGetRecord.action") 360 +#define CNSportsChinaActivitiyGradeUrl API_Host(@"/Daren/event/getByEventGetRecord.action")
361 361
362 //体育中国-详情 362 //体育中国-详情
363 -#define CNSportsChinaDetailUrl API_Host(@"Daren/event/getEventDetails.action") 363 +#define CNSportsChinaDetailUrl API_Host(@"/Daren/event/getEventDetails.action")
364 //体育中国-详情-已参与人员 364 //体育中国-详情-已参与人员
365 -#define CNSportsChinaParticipantsUrl API_Host(@"Daren/event/getSignUpList.action") 365 +#define CNSportsChinaParticipantsUrl API_Host(@"/Daren/event/getSignUpList.action")
366 //体育中国-详情-报名 366 //体育中国-详情-报名
367 -#define CNSportsChinaSignUpUrl API_Host(@"Daren/event/signUp.action") 367 +#define CNSportsChinaSignUpUrl API_Host(@"/Daren/event/signUp.action")
368 //体育中国-比赛-保存 368 //体育中国-比赛-保存
369 -#define CNSportsChinaSaveRecordUrl API_Host(@"Daren/event/routeRecord.action") 369 +#define CNSportsChinaSaveRecordUrl API_Host(@"/Daren/event/routeRecord.action")
370 //踩点轨迹列表 370 //踩点轨迹列表
371 -#define CNSportsChinaShoeLineListUrl API_Host(@"Daren/event/getShoeLineList.action") 371 +#define CNSportsChinaShoeLineListUrl API_Host(@"/Daren/event/getShoeLineList.action")
372 //绑定轨迹 372 //绑定轨迹
373 -#define CNSportsChinaBindingShoeLineUrl API_Host(@"Daren/event/bindingShoeLine.action") 373 +#define CNSportsChinaBindingShoeLineUrl API_Host(@"/Daren/event/bindingShoeLine.action")
374 //删除轨迹 374 //删除轨迹
375 -#define CNSportsChinaDeleteShoeLineUrl API_Host(@"Daren/event/deleteShoeLine.action") 375 +#define CNSportsChinaDeleteShoeLineUrl API_Host(@"/Daren/event/deleteShoeLine.action")
376 //检查轨迹 376 //检查轨迹
377 -#define CNSportsChinaCheckShoeLineUrl API_Host(@"Daren/event/checkShoeLine.action") 377 +#define CNSportsChinaCheckShoeLineUrl API_Host(@"/Daren/event/checkShoeLine.action")
378 //上传轨迹url 378 //上传轨迹url
379 -#define CNSportsChinaSaveShoeLineUrl API_Host(@"Daren/event/saveShoeLine.action") 379 +#define CNSportsChinaSaveShoeLineUrl API_Host(@"/Daren/event/saveShoeLine.action")
380 380
381 #pragma mark - 目击者 381 #pragma mark - 目击者
382 //新版目击者 382 //新版目击者
383 //获取新目击者界面数据 383 //获取新目击者界面数据
384 -#define CNGetWitnessMsgContent API_Host(@"Daren/witness/getWitnessMsg.action") 384 +#define CNGetWitnessMsgContent API_Host(@"/Daren/witness/getWitnessMsg.action")
385 //获取作品,动态数据 385 //获取作品,动态数据
386 -#define CNGetWitnessListContent API_Host(@"Daren/witness/getWitnessList.action") 386 +#define CNGetWitnessListContent API_Host(@"/Daren/witness/getWitnessList.action")
387 //获取作品,动态数据 387 //获取作品,动态数据
388 -#define CNGetWitnessCollectionListContent API_Host(@"Daren/witness/getWitnessCollectionList.action") 388 +#define CNGetWitnessCollectionListContent API_Host(@"/Daren/witness/getWitnessCollectionList.action")
389 //获取作品,动态数据 389 //获取作品,动态数据
390 -#define CNGetWitnessFollowsContent API_Host(@"Daren/witness/witnessFollows.action") 390 +#define CNGetWitnessFollowsContent API_Host(@"/Daren/witness/witnessFollows.action")
391 //收藏目击者动态 391 //收藏目击者动态
392 -#define CNGetWitnessCancelCollection API_Host(@"Daren/witness/witnessCollectionType.action") 392 +#define CNGetWitnessCancelCollection API_Host(@"/Daren/witness/witnessCollectionType.action")
393 //对目击者的动态进行点赞 393 //对目击者的动态进行点赞
394 -#define CNGetWitnessFavoriteMomentUrl API_OpenApi2(@"support/supportBySpIdForRank/insert" 394 +#define CNGetWitnessFavoriteMomentUrl API_OpenApi2(@"/support/supportBySpIdForRank/insert"
395 //对目击者的粉丝列表数据获取 395 //对目击者的粉丝列表数据获取
396 -#define CNGetWitnessFollowsMomentUrl API_Host(@"Daren/witness/getWitnessFollowsList.action") 396 +#define CNGetWitnessFollowsMomentUrl API_Host(@"/Daren/witness/getWitnessFollowsList.action")
397 //获取目击者广场视频列表 397 //获取目击者广场视频列表
398 -#define CNGetWitnessAllListUrl API_Classify(@"contentApi/witnessNewList" 398 +#define CNGetWitnessAllListUrl API_Classify(@"/contentApi/witnessNewList"
399 //目击者添加关注和取消关注 399 //目击者添加关注和取消关注
400 -#define CNGetWitnessFollowsUrl API_Host(@"Daren/witness/witnessFollows.action") 400 +#define CNGetWitnessFollowsUrl API_Host(@"/Daren/witness/witnessFollows.action")
401 //目击者获取评论列表 401 //目击者获取评论列表
402 -#define CNGetWitnessCommentLoadUrl API_OpenApi2(@"commentServices/services/commentForHdBySpId/loadComment" 402 +#define CNGetWitnessCommentLoadUrl API_OpenApi2(@"/commentServices/services/commentForHdBySpId/loadComment"
403 //目击者添加评论 403 //目击者添加评论
404 -#define CNGetWitnessInsertCommentUrl API_OpenApi2(@"commentServices/commentForHdBySpId/insertComment" 404 +#define CNGetWitnessInsertCommentUrl API_OpenApi2(@"/commentServices/commentForHdBySpId/insertComment"
405 //目击者获取相关推荐列表 405 //目击者获取相关推荐列表
406 -#define CNGetWitnessRecommendListUrl API_Classify(@"playApi/moreList" 406 +#define CNGetWitnessRecommendListUrl API_Classify(@"/playApi/moreList"
407 //目击者获取目击者视频列表 407 //目击者获取目击者视频列表
408 -#define CNGetWittnessVideoListUrl API_Classify(@"contentApi/getWitness" 408 +#define CNGetWittnessVideoListUrl API_Classify(@"/contentApi/getWitness"
409 409
410 410
411 411
412 #pragma mark - 点播 412 #pragma mark - 点播
413 //视频点播 413 //视频点播
414 -#define CNVideoDemandUrl API_Classify(@"playApi/play" 414 +#define CNVideoDemandUrl API_Classify(@"/playApi/play"
415 //查看全部 415 //查看全部
416 -#define CNLookAtAllUrl API_Classify(@"playApi/moreList" 416 +#define CNLookAtAllUrl API_Classify(@"/playApi/moreList"
417 417
418 -#define CNCommentsListUrl API_OpenApi2(@"commentServices/services/commentForChat/loadComment"  
419 -#define CNCommentsAddUrl API_OpenApi2(@"commentServices/services/commentForChat/insert"  
420 -#define CNCommentsDeleteUrl API_OpenApi2(@"commentServices/services/commentForChat/delete" 418 +#define CNCommentsListUrl API_OpenApi2(@"/commentServices/services/commentForChat/loadComment"
  419 +#define CNCommentsAddUrl API_OpenApi2(@"/commentServices/services/commentForChat/insert"
  420 +#define CNCommentsDeleteUrl API_OpenApi2(@"/commentServices/services/commentForChat/delete"
421 421
422 //获取点播302地址 422 //获取点播302地址
423 -#define CNGetVodUrl API_OpenApi2(@"vod_ips/vodplayByAPP" 423 +#define CNGetVodUrl API_OpenApi2(@"/vod_ips/vodplayByAPP"
424 424
425 //帮助与反馈上传反馈信息&图片 425 //帮助与反馈上传反馈信息&图片
426 -#define CNUpdateFeedbackUrl API_Host(@"Daren/feedback/collectFeedback.action") 426 +#define CNUpdateFeedbackUrl API_Host(@"/Daren/feedback/collectFeedback.action")
427 //检查扫描结果是否有效 427 //检查扫描结果是否有效
428 -#define CNCheckQrCodeUrl API_Host(@"Daren/qrcode/checkQrCodeUrl.action") 428 +#define CNCheckQrCodeUrl API_Host(@"/Daren/qrcode/checkQrCodeUrl.action")
429 429
430 // Native 分类 430 // Native 分类
431 // 获取所有频道列表 431 // 获取所有频道列表
@@ -435,192 +435,192 @@ @@ -435,192 +435,192 @@
435 435
436 #pragma mark - 申请目击者 436 #pragma mark - 申请目击者
437 // 目击者身份信息申请 437 // 目击者身份信息申请
438 -#define CNApplyWitnessUrl API_Host(@"Daren/witness/applyWitness.action") 438 +#define CNApplyWitnessUrl API_Host(@"/Daren/witness/applyWitness.action")
439 // 目击者身份校验 439 // 目击者身份校验
440 -#define CNCheckWitnessUrl API_Host(@"Daren/witness/checkWitness.action") 440 +#define CNCheckWitnessUrl API_Host(@"/Daren/witness/checkWitness.action")
441 //获取订阅号主页内容 441 //获取订阅号主页内容
442 #define CNGetSpHomePageInfoUrl API_Classify"/contentApi/getSpInfo" 442 #define CNGetSpHomePageInfoUrl API_Classify"/contentApi/getSpInfo"
443 //获取订阅号分页内容 443 //获取订阅号分页内容
444 #define CNGetSpContentListUrl API_Classify"/contentApi/getSpContentList" 444 #define CNGetSpContentListUrl API_Classify"/contentApi/getSpContentList"
445 //关注订阅号 445 //关注订阅号
446 -#define CNGetSpAddFollowsUrl API_Host(@"Daren/group/addFollows.action") 446 +#define CNGetSpAddFollowsUrl API_Host(@"/Daren/group/addFollows.action")
447 //取消关注订阅号 447 //取消关注订阅号
448 -#define CNGetSpUserCancelFollowUrl API_Host(@"Daren/group/userCancelFollow.action") 448 +#define CNGetSpUserCancelFollowUrl API_Host(@"/Daren/group/userCancelFollow.action")
449 //加入群聊 449 //加入群聊
450 -#define CNGetSpUserAddGroupUrl API_Host(@"Daren/group/userAddGroup.action") 450 +#define CNGetSpUserAddGroupUrl API_Host(@"/Daren/group/userAddGroup.action")
451 //获取全部粉丝 451 //获取全部粉丝
452 -#define CNGetSPAllFansUrl API_Host(@"Daren/group/getFans.action") 452 +#define CNGetSPAllFansUrl API_Host(@"/Daren/group/getFans.action")
453 //订阅号加入群聊 453 //订阅号加入群聊
454 -#define CNGetUserAddGroupUrl API_Host(@"Daren/group/userAddGroup.action") 454 +#define CNGetUserAddGroupUrl API_Host(@"/Daren/group/userAddGroup.action")
455 455
456 #pragma mark - 我的 456 #pragma mark - 我的
457 // 用户uid检测达人状态 457 // 用户uid检测达人状态
458 -#define CNCheckDarenUrl API_Host(@"Daren/member/checkDaren.action") 458 +#define CNCheckDarenUrl API_Host(@"/Daren/member/checkDaren.action")
459 // 获取我的余额 459 // 获取我的余额
460 -#define CNGetBalanceUrl API_Host(@"Daren/member/getBalance.action") 460 +#define CNGetBalanceUrl API_Host(@"/Daren/member/getBalance.action")
461 // 获取交易记录 461 // 获取交易记录
462 -#define CNGetTradingRecordUrl API_Host(@"Daren/transaction/getTransactionRecord.action") 462 +#define CNGetTradingRecordUrl API_Host(@"/Daren/transaction/getTransactionRecord.action")
463 // 获取与商户的交易记录 463 // 获取与商户的交易记录
464 -#define CNViewTransferRecordUrl API_Host(@"Daren/groupManagement/viewTransferRecord.action") 464 +#define CNViewTransferRecordUrl API_Host(@"/Daren/groupManagement/viewTransferRecord.action")
465 // 交易记录详情 465 // 交易记录详情
466 -#define CNGetRecordSourceMsgUrl API_Host(@"Daren/transaction/getRecordSourceDetail.action") 466 +#define CNGetRecordSourceMsgUrl API_Host(@"/Daren/transaction/getRecordSourceDetail.action")
467 // 是否有支付密码 467 // 是否有支付密码
468 -#define CNPasswordIsExistingUrl API_Host(@"Daren/wjjPay/passwordIsExisting.action") 468 +#define CNPasswordIsExistingUrl API_Host(@"/Daren/wjjPay/passwordIsExisting.action")
469 // 设置支付密码 469 // 设置支付密码
470 -#define CNSetPasswordUrl API_Host(@"Daren/wjjPay/setPassword.action") 470 +#define CNSetPasswordUrl API_Host(@"/Daren/wjjPay/setPassword.action")
471 // 更改密码时发送验证码 471 // 更改密码时发送验证码
472 -#define CNSendSMSSetPasswordUrl API_Host(@"Daren/sms/sendSMS.action") 472 +#define CNSendSMSSetPasswordUrl API_Host(@"/Daren/sms/sendSMS.action")
473 // 更改密码时验证验证码 473 // 更改密码时验证验证码
474 -#define CNCheckVerifyCodeSetPasswordUrl API_Host(@"Daren/sms/checkVerifyCode.action") 474 +#define CNCheckVerifyCodeSetPasswordUrl API_Host(@"/Daren/sms/checkVerifyCode.action")
475 // 查看是否允许好友查看生活圈的状态 475 // 查看是否允许好友查看生活圈的状态
476 -#define CNIsAllowFindStrangerSwitchUrl API_Host(@"Daren/moment/findStrangerSwitch.action") 476 +#define CNIsAllowFindStrangerSwitchUrl API_Host(@"/Daren/moment/findStrangerSwitch.action")
477 // 切换是否允许好友查看生活圈 477 // 切换是否允许好友查看生活圈
478 -#define CNSwitchAllowStrangerUrl API_Host(@"Daren/moment/strangerSwitch.action") 478 +#define CNSwitchAllowStrangerUrl API_Host(@"/Daren/moment/strangerSwitch.action")
479 479
480 #pragma mark - 积分 480 #pragma mark - 积分
481 -#define CNIntegralGetTasksUrl API_Host(@"Daren/integral/getTasks.action")//任务列表  
482 -#define CNIntegralAddUrl API_Host(@"Daren/integral/addTask.action")//增加积分  
483 -#define CNIntegralDetailsUrl API_Host(@"Daren/integral/integralRecord.action")//积分明细  
484 -#define CNIntegralSignInUrl API_Host(@"Daren/integral/checkIn.action")//签到  
485 -#define CNCancellationUrl API_Host(@"Daren/common/cancellationAccount.action")//注销账号 481 +#define CNIntegralGetTasksUrl API_Host(@"/Daren/integral/getTasks.action")//任务列表
  482 +#define CNIntegralAddUrl API_Host(@"/Daren/integral/addTask.action")//增加积分
  483 +#define CNIntegralDetailsUrl API_Host(@"/Daren/integral/integralRecord.action")//积分明细
  484 +#define CNIntegralSignInUrl API_Host(@"/Daren/integral/checkIn.action")//签到
  485 +#define CNCancellationUrl API_Host(@"/Daren/common/cancellationAccount.action")//注销账号
486 486
487 #pragma mark - 隐私 487 #pragma mark - 隐私
488 -#define CNPrivacyNoLetHimSeeListUrl API_Host(@"Daren/moment/getDoNotletFsids.action")//不让他看列表  
489 -#define CNPrivacyNoSeeHimListUrl API_Host(@"Daren/moment/getNoLookFsids.action")//不看他列表  
490 -#define CNPrivacyNoLetHimSeeAddUrl API_Host(@"Daren/moment/addDoNotletFsids.action")//不让他看增加  
491 -#define CNPrivacyNoSeeHimAddUrl API_Host(@"Daren/moment/addNoLookFsids.action")//不看他增加 488 +#define CNPrivacyNoLetHimSeeListUrl API_Host(@"/Daren/moment/getDoNotletFsids.action")//不让他看列表
  489 +#define CNPrivacyNoSeeHimListUrl API_Host(@"/Daren/moment/getNoLookFsids.action")//不看他列表
  490 +#define CNPrivacyNoLetHimSeeAddUrl API_Host(@"/Daren/moment/addDoNotletFsids.action")//不让他看增加
  491 +#define CNPrivacyNoSeeHimAddUrl API_Host(@"/Daren/moment/addNoLookFsids.action")//不看他增加
492 492
493 #pragma mark - 订阅号 493 #pragma mark - 订阅号
494 //选择你感兴趣的内容 494 //选择你感兴趣的内容
495 -#define CNInterestedContentUrl API_Host(@"Daren/group/getSpTags.action") 495 +#define CNInterestedContentUrl API_Host(@"/Daren/group/getSpTags.action")
496 //推荐订阅号 496 //推荐订阅号
497 -#define CNRecommendedSubscribeUrl API_Host(@"Daren/group/getSubscriptionNumbers.action") 497 +#define CNRecommendedSubscribeUrl API_Host(@"/Daren/group/getSubscriptionNumbers.action")
498 //推荐订阅号完成 498 //推荐订阅号完成
499 -#define CNRecommendedSubscribeFinishUrl API_Host(@"Daren/group/userFollowAddGroup.action") 499 +#define CNRecommendedSubscribeFinishUrl API_Host(@"/Daren/group/userFollowAddGroup.action")
500 //全部订阅号(不传sid) 500 //全部订阅号(不传sid)
501 -#define CNAllSubscribeUrl API_Host(@"Daren/group/getMoreSubscriptionNumbers.action") 501 +#define CNAllSubscribeUrl API_Host(@"/Daren/group/getMoreSubscriptionNumbers.action")
502 //全部订阅号(传sid) 502 //全部订阅号(传sid)
503 -#define CNAllSubscribeSidUrl API_Host(@"Daren/group/getCategorySubscriptionNumbers.action") 503 +#define CNAllSubscribeSidUrl API_Host(@"/Daren/group/getCategorySubscriptionNumbers.action")
504 //关注订阅号 504 //关注订阅号
505 -#define CNAddAttentionSubscribeUrl API_Host(@"Daren/group/addFollows.action") 505 +#define CNAddAttentionSubscribeUrl API_Host(@"/Daren/group/addFollows.action")
506 //取消关注订阅号 506 //取消关注订阅号
507 -#define CNCancelAttentionSubscribeUrl API_Host(@"Daren/group/userCancelFollow.action") 507 +#define CNCancelAttentionSubscribeUrl API_Host(@"/Daren/group/userCancelFollow.action")
508 //加入群聊订阅号 508 //加入群聊订阅号
509 -#define CNJumpGroupSubscribeUrl API_Host(@"Daren/group/userAddGroup.action") 509 +#define CNJumpGroupSubscribeUrl API_Host(@"/Daren/group/userAddGroup.action")
510 //设置默认订阅号 510 //设置默认订阅号
511 -#define CNSubscribeDefaultAddFollowsUrl API_Host(@"Daren/group/defaultAddFollows.action") 511 +#define CNSubscribeDefaultAddFollowsUrl API_Host(@"/Daren/group/defaultAddFollows.action")
512 //获取推荐的订阅号推荐内容 512 //获取推荐的订阅号推荐内容
513 -#define CNLiveSubscribeMsgUrl API_Host(@"Daren/group/subscribeMsg.action") 513 +#define CNLiveSubscribeMsgUrl API_Host(@"/Daren/group/subscribeMsg.action")
514 //获取已关注的订阅号列表 514 //获取已关注的订阅号列表
515 -#define CNLiveOfficialAccountUrl API_Host(@"Daren/group/officialAccount.action") 515 +#define CNLiveOfficialAccountUrl API_Host(@"/Daren/group/officialAccount.action")
516 //订阅号获取预约列表 516 //订阅号获取预约列表
517 -#define CNLiveContentApiLiveListUrl API_Classify(@"contentApi/getLiveList" 517 +#define CNLiveContentApiLiveListUrl API_Classify(@"/contentApi/getLiveList"
518 //预约订阅号直播 518 //预约订阅号直播
519 -#define CNLiveContentApiLiveAppointUrl API_Classify(@"contentApi/liveAppoint" 519 +#define CNLiveContentApiLiveAppointUrl API_Classify(@"/contentApi/liveAppoint"
520 //订阅号热推 520 //订阅号热推
521 -#define CNSubscribeHotPushUrl API_Classify(@"contentApi/getHotContent" 521 +#define CNSubscribeHotPushUrl API_Classify(@"/contentApi/getHotContent"
522 //一键关注 522 //一键关注
523 -#define CNSubscribeOneKeyConcernUrl API_Host(@"Daren/group/oneKeyConcern.action") 523 +#define CNSubscribeOneKeyConcernUrl API_Host(@"/Daren/group/oneKeyConcern.action")
524 524
525 #pragma mark - App配置信息 525 #pragma mark - App配置信息
526 // 获取最新版本信息 526 // 获取最新版本信息
527 -#define CNGetNewestVersionUrl API_Host(@"Daren/common/getNewestVersion.action") 527 +#define CNGetNewestVersionUrl API_Host(@"/Daren/common/getNewestVersion.action")
528 // 获取App配置信息(统一) 528 // 获取App配置信息(统一)
529 -#define CNGetCommonMsgUrl API_Host(@"Daren/common/getCommonMsg.action") 529 +#define CNGetCommonMsgUrl API_Host(@"/Daren/common/getCommonMsg.action")
530 530
531 #pragma mark 活动投票 531 #pragma mark 活动投票
532 //创建活动收费 532 //创建活动收费
533 -#define CNAddGroupCharge API_Host(@"Daren/groupManagement/addGroupCharge.action") 533 +#define CNAddGroupCharge API_Host(@"/Daren/groupManagement/addGroupCharge.action")
534 //邀请加群 534 //邀请加群
535 -#define CNInvitationAddgroup API_Host(@"Daren/groupManagement/invitationAddGroup.action") 535 +#define CNInvitationAddgroup API_Host(@"/Daren/groupManagement/invitationAddGroup.action")
536 //获取通知列表 536 //获取通知列表
537 -#define CNGetnoticesubs API_Host(@"Daren/sub/getNoticeSubs.action") 537 +#define CNGetnoticesubs API_Host(@"/Daren/sub/getNoticeSubs.action")
538 // 同意加入群 538 // 同意加入群
539 -#define CNAgreeAddgroup API_Contact(@"CnliveIM/notify/addGroup.action") //@"https://wjjim.cnlive.com/CnliveIM/notify/addGroup.action") 539 +#define CNAgreeAddgroup API_Contact(@"/CnliveIM/notify/addGroup.action") //@"https://wjjim.cnlive.com/CnliveIM/notify/addGroup.action")
540 // 创建投票 540 // 创建投票
541 -#define CNAddvote API_Host(@"Daren/vote/addVote.action") 541 +#define CNAddvote API_Host(@"/Daren/vote/addVote.action")
542 //储存历任群主,再特色群创建和转让群主的时候创建 542 //储存历任群主,再特色群创建和转让群主的时候创建
543 -#define CNSavesuccessivegroup API_Host(@"Daren/groupManagement/saveSuccessiveGroup.action") 543 +#define CNSavesuccessivegroup API_Host(@"/Daren/groupManagement/saveSuccessiveGroup.action")
544 544
545 -#define CNGetAgreementH5Url API_Refund(@"json/wjj_user_terms.json") 545 +#define CNGetAgreementH5Url API_Refund(@"/json/wjj_user_terms.json")
546 546
547 -#define CNWeChatPayUrl API_ThirdPay(@"Daren/pay/notifyWeChatPay.action") 547 +#define CNWeChatPayUrl API_ThirdPay(@"/Daren/pay/notifyWeChatPay.action")
548 548
549 -#define CNAliPayUrl API_ThirdPay(@"Daren/pay/notifyAliPay.action") 549 +#define CNAliPayUrl API_ThirdPay(@"/Daren/pay/notifyAliPay.action")
550 550
551 -#define CNUnionPayUrl API_ThirdPay(@"Daren/pay/notifyUnionPay.action") 551 +#define CNUnionPayUrl API_ThirdPay(@"/Daren/pay/notifyUnionPay.action")
552 552
553 -#define CNJSFYNotifyUrl API_ThirdPay(@"Daren/pay/jsfyPayCallback.action") 553 +#define CNJSFYNotifyUrl API_ThirdPay(@"/Daren/pay/jsfyPayCallback.action")
554 554
555 //获取特色群限制人数 555 //获取特色群限制人数
556 #define CNGroupMemberLimit @"https://wjj.ys1.cnliveimg.com/json/GroupMemberLimit.json") 556 #define CNGroupMemberLimit @"https://wjj.ys1.cnliveimg.com/json/GroupMemberLimit.json")
557 557
558 #pragma mark - 获取观察者相关 558 #pragma mark - 获取观察者相关
559 //获取观察者相关数据 559 //获取观察者相关数据
560 -#define CNWitnessPublishContent API_Host(@"Daren/witness/getWitnessPublishContent.action") 560 +#define CNWitnessPublishContent API_Host(@"/Daren/witness/getWitnessPublishContent.action")
561 561
562 //删除观察者相关数据 562 //删除观察者相关数据
563 -#define CNDeleteOrUpdateWitnessURL API_Host(@"Daren/witness/deleteOrUpdateWitnessPublish.action") 563 +#define CNDeleteOrUpdateWitnessURL API_Host(@"/Daren/witness/deleteOrUpdateWitnessPublish.action")
564 564
565 #pragma mark - 直播 565 #pragma mark - 直播
566 566
567 //取得相关视频 567 //取得相关视频
568 -#define CNPlayerBackOrRelatedUrl API_Classify(@"contentApi/playList" 568 +#define CNPlayerBackOrRelatedUrl API_Classify(@"/contentApi/playList"
569 569
570 //取得直播数据 570 //取得直播数据
571 -#define CNPlayerDetailUrl API_Classify(@"playApi/play" 571 +#define CNPlayerDetailUrl API_Classify(@"/playApi/play"
572 572
573 //预约 573 //预约
574 -#define CNPlayerOrderUrl API_Classify(@"contentApi/liveAppoint" 574 +#define CNPlayerOrderUrl API_Classify(@"/contentApi/liveAppoint"
575 575
576 //获取直播活动播放信息4App 576 //获取直播活动播放信息4App
577 -#define CNLiveActivityPlayInfo4App API_OpenApi2(@"live_epg/getLiveActivityPlayInfo4App" 577 +#define CNLiveActivityPlayInfo4App API_OpenApi2(@"/live_epg/getLiveActivityPlayInfo4App"
578 //获取直播间详情 578 //获取直播间详情
579 -#define CNLiveRoomInfo API_Classify(@"playApi/play" 579 +#define CNLiveRoomInfo API_Classify(@"/playApi/play"
580 580
581 -#define CNNewLiveInfoWeb API_Classify(@"contentApi/" 581 +#define CNNewLiveInfoWeb API_Classify(@"/contentApi/"
582 582
583 //获取点播播放信息 583 //获取点播播放信息
584 -#define CNLiveGetVodRates API_OpenApi2(@"vod_epg/getRates" 584 +#define CNLiveGetVodRates API_OpenApi2(@"/vod_epg/getRates"
585 585
586 //活动举报 586 //活动举报
587 -#define CNLiveActivityReportContent API_Report(@"CnliveMobile/json/report.action") 587 +#define CNLiveActivityReportContent API_Report(@"/CnliveMobile/json/report.action")
588 588
589 //订阅号关注 589 //订阅号关注
590 -#define CNLiveSPAddFollow API_Host(@"Daren/group/addFollows.action") 590 +#define CNLiveSPAddFollow API_Host(@"/Daren/group/addFollows.action")
591 591
592 //取消订阅号关注 592 //取消订阅号关注
593 -#define CNLiveSPCancelFollow API_Host(@"Daren/group/userCancelFollow.action") 593 +#define CNLiveSPCancelFollow API_Host(@"/Daren/group/userCancelFollow.action")
594 594
595 //订阅号取消管制 595 //订阅号取消管制
596 596
597 //视频下载地址 597 //视频下载地址
598 -#define CNLiveVideoDownloadUrl API_OpenApi2(@"vod_ips/vodplayByAPP" 598 +#define CNLiveVideoDownloadUrl API_OpenApi2(@"/vod_ips/vodplayByAPP"
599 599
600 #pragma mark - 黑名单 600 #pragma mark - 黑名单
601 //校验黑名单 601 //校验黑名单
602 -#define CNCheckBlackUser API_Contact(@"CnliveIM/notify/checkBlackList.action") 602 +#define CNCheckBlackUser API_Contact(@"/CnliveIM/notify/checkBlackList.action")
603 //添加黑名单 603 //添加黑名单
604 -#define CNBlackListAdd API_Host(@"Daren/blackList/blackListAdd.action") 604 +#define CNBlackListAdd API_Host(@"/Daren/blackList/blackListAdd.action")
605 //删除黑名单 605 //删除黑名单
606 -#define CNBlackListDelete API_Host (@"Daren/blackList/blackListDelete.action") 606 +#define CNBlackListDelete API_Host (@"/Daren/blackList/blackListDelete.action")
607 //黑名单列表 607 //黑名单列表
608 -#define CNBlackList API_Host(@"Daren/blackList/blackListGet.action") 608 +#define CNBlackList API_Host(@"/Daren/blackList/blackListGet.action")
609 609
610 #pragma mark - 好友生活圈观看权限设置 610 #pragma mark - 好友生活圈观看权限设置
611 //增加不让他人看 611 //增加不让他人看
612 -#define CNAdddonotletfsids API_Host(@"Daren/moment/addDoNotletFsids.action") 612 +#define CNAdddonotletfsids API_Host(@"/Daren/moment/addDoNotletFsids.action")
613 //取消不让他人看 613 //取消不让他人看
614 -#define CNDeldonotletfsids API_Host(@"Daren/moment/delDoNotletFsids.action") 614 +#define CNDeldonotletfsids API_Host(@"/Daren/moment/delDoNotletFsids.action")
615 //不让他看人列表 615 //不让他看人列表
616 -#define CNGetdonotletfsids API_Host(@"Daren/moment/getDoNotletFsids.action") 616 +#define CNGetdonotletfsids API_Host(@"/Daren/moment/getDoNotletFsids.action")
617 617
618 //增加不看他的 618 //增加不看他的
619 -#define CNAddnolookfsids API_Host(@"Daren/moment/addNoLookFsids.action") 619 +#define CNAddnolookfsids API_Host(@"/Daren/moment/addNoLookFsids.action")
620 //取消不看他的 620 //取消不看他的
621 -#define CNDelnolookfsids API_Host(@"Daren/moment/delNoLookFsids.action") 621 +#define CNDelnolookfsids API_Host(@"/Daren/moment/delNoLookFsids.action")
622 //不看他的列表 622 //不看他的列表
623 -#define CNGetnolookfsids API_Host(@"Daren/moment/getNoLookFsids.action") 623 +#define CNGetnolookfsids API_Host(@"/Daren/moment/getNoLookFsids.action")
624 // 624 //
625 //////////////////////////////////////////////////////// 625 ////////////////////////////////////////////////////////
626 //////////// 数据库---表名 626 //////////// 数据库---表名