Commit 3613f54d774562e3992f3034a20730abec4a8fe3

Authored by zhangxiaowen
1 parent a8f95dfb

no message

CNLiveEnvironment/Classes/CNLiveEnvironment.h
... ... @@ -23,13 +23,13 @@
23 23 #define AppDownloadUrl [CNLiveEnvironmentManager manager].AppDownloadUrl
24 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 34 // BundleId
35 35 #define BundleId [CNLiveEnvironmentManager manager].bundleId
... ...
CNLiveEnvironment/Classes/CNLiveEnvironmentInterface.h
... ... @@ -13,419 +13,419 @@
13 13 //上传手机通讯录和 生成订单二维码时,DES加密key
14 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 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 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 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 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 168 #pragma mark - 发布
169 169 //发布视频 短视频接入点播云接口
170   -#define CNPublishVideoUrl API_OpenApi2(@"vod_epg/svInputMamForAPP")
  170 +#define CNPublishVideoUrl API_OpenApi2(@"/vod_epg/svInputMamForAPP")
171 171  
172 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 178 //上传视频成功的回调url
179   -#define CNStockDarenVideoCallBackUrl API_Host(@"Daren/stock/stockDarenVideo.action")
  179 +#define CNStockDarenVideoCallBackUrl API_Host(@"/Daren/stock/stockDarenVideo.action")
180 180  
181 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 185 #pragma mark - 检验群公告敏感词
186   -#define CNCheckFeaturedGroup API_Host(@"Daren/announcementCheck/checkFeaturedGroup.action")
  186 +#define CNCheckFeaturedGroup API_Host(@"/Daren/announcementCheck/checkFeaturedGroup.action")
187 187  
188 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 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 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 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 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 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 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 378 //上传轨迹url
379   -#define CNSportsChinaSaveShoeLineUrl API_Host(@"Daren/event/saveShoeLine.action")
  379 +#define CNSportsChinaSaveShoeLineUrl API_Host(@"/Daren/event/saveShoeLine.action")
380 380  
381 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 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 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 430 // Native 分类
431 431 // 获取所有频道列表
... ... @@ -435,192 +435,192 @@
435 435  
436 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 442 #define CNGetSpHomePageInfoUrl API_Classify"/contentApi/getSpInfo"
443 443 //获取订阅号分页内容
444 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 456 #pragma mark - 我的
457 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 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 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 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 500 //全部订阅号(不传sid)
501   -#define CNAllSubscribeUrl API_Host(@"Daren/group/getMoreSubscriptionNumbers.action")
  501 +#define CNAllSubscribeUrl API_Host(@"/Daren/group/getMoreSubscriptionNumbers.action")
502 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 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 528 // 获取App配置信息(统一)
529   -#define CNGetCommonMsgUrl API_Host(@"Daren/common/getCommonMsg.action")
  529 +#define CNGetCommonMsgUrl API_Host(@"/Daren/common/getCommonMsg.action")
530 530  
531 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 556 #define CNGroupMemberLimit @"https://wjj.ys1.cnliveimg.com/json/GroupMemberLimit.json")
557 557  
558 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 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 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 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 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 //////////// 数据库---表名
... ...