CNLiveInterface.h 30.3 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642
//
//  CNLiveInterface.h
//  XWTest
//
//  Created by CNLive-zxw on 2019/7/13.
//  Copyright © 2019 CNLive. All rights reserved.
//

#ifndef CNLiveInterface_h
#define CNLiveInterface_h
#import "CNLiveEnvironmentManager.h"

#define cn_WjjH5_Host(url)                    [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kWjjH5_Host,url]
#define cn_API_Host(url)                      [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Host,url]
#define cn_API_Contact(url)                   [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Contact,url]
#define cn_API_Refund(url)                    [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Refund,url]
#define cn_API_Report(url)                    [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Report,url]
#define cn_API_OpenApi2(url)                  [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_OpenApi2,url]
#define cn_API_Classify(url)                  [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Classify,url]

// 分享使用到的logo图片
#define NetAddShareImgUrl                     cn_WjjH5_Host(@"/static/logo.png")
#define WjjH5Short_Host                       @"http://dwz.cnlive.com"

//我的-投诉
#define WjjH5_Complaint                       cn_WjjH5_Host(@"/cnComplaint.html")

// 网++默认头像地址
#define CNLiveNetAddDefaultHead               cn_API_Refund(@"/admin/test/head.png")


#define iUploadContacts                       cn_API_Contact(@"/CnliveIM/notify/uploadContacts.action")
//其他投诉
#define CNLiveCNReporthtml                    cn_WjjH5_Host(@"/cnReport.html")

//特色群活动必要说明
#define CNActivityManageUrl                   cn_API_Refund(@"/term/ActivityManagement.html")

//特色群投票必要说明
#define CNVoteManageUrl                       cn_API_Refund(@"/term/VoteManagement.html")

//订阅号特色群活动必要说明
#define CNActivityManageSPUrl                 cn_WjjH5_Host(@"/cnGroupDescription.html?type=hdgl")

//订阅号特色群投票必要说明
#define CNVoteManageSPUrl                     cn_WjjH5_Host(@"/cnGroupDescription.html?type=tp")

//获取生活号列表
#define CNGetLifeSubsUrl                      cn_API_Host(@"/Daren/sub/getLifeSubs.action")

//获取达人号列表
#define CNGetDarenSubsUrl                     cn_API_Host(@"/Daren/sub/getDarenSubs.action")

//达人号列表删除某达人
#define CNDarenSubsDeleteDarenUrl             cn_API_Host(@"/Daren/sub/deleteDarenSubs.action")

//添加某个收藏
#define CNDarenSubsCollectionUrl              cn_API_Host(@"/Daren/stock/collection.action")

//收藏界面删除某个收藏
#define CNDarenSubsDeleteCollectionUrl        cn_API_Host(@"/Daren/stock/deleteCollection.action")

//达人主页
#define CNDarenHomeUrl                        cn_API_Host(@"/Daren/sub/getDarenHome.action")

//获取收藏结果详情
#define CNDarenCollectListDataSourceUrl       cn_API_Host(@"/Daren/stock/getCollectionList.action")

//生活号主页
#define CNLifeHomeUrl                         cn_API_Host(@"/Daren/sub/getLifeHome.action")

//删除生活号
#define CNLiveLifeDeleteUrl                   cn_API_Host(@"/Daren/sub/deleteLifeSubs.action")

//通过手机号查找好友
#define CNSearchByPhoneNumUrl                 cn_API_Contact(@"/CnliveIM/notify/searchByPhoneNumber.action")


//获取已关注的达人列表
#define CNGetDarensUrl                        cn_API_Host(@"/Daren/sub/getDarens.action")

//获取达人的粉丝列表
#define CNGetFansUrl                          cn_API_Host(@"/Daren/sub/getFans.action")

//评价列表
#define CNGetDarenCommentUrl                  cn_API_Host(@"/Daren/hudong/getDarenComment.action")

//获取达人相关信息
#define CNGetDarenByIdUrl                     cn_API_Host(@"/Daren/member/getDarenById.action")

#pragma mark - 定义消息
//获取子群组
#define CNGetGroupChildren                    cn_API_Classify(@"/contentApi/getGroupChildren")
// 退群群
#define CNDeleteGroupMember                   cn_API_Host(@"/Daren/groupManagement/deleteGroupMember.action")

//发送自定义消息
#define CNFriendshipVerifyUrl                 cn_API_Contact(@"/CnliveIM/notify/custMsgPush.action")
//音视频自定义消息
#define CNVideoOrAudioUrl                     cn_API_Contact(@"/CnliveIM/notify/custMsgPush.action")

//音视频取得房间号
#define CNVideoOrAudioGetRoomID               cn_API_Host(@"/Daren/common/getRoomId.action")

//发送文本消息
#define CNTextMsgPushUrl                      cn_API_Contact(@"/CnliveIM/notify/textMsgPush.action")

//生成二维码
#define CNGenOrResetCodeUrl                   cn_API_Host(@"/Daren/qrcode/genOrResetQrCode.action")
//撤回消息
#define CNRevokebatchsendmsg                  cn_API_Contact(@"/CnliveIM/notify/revokeBatchSendMsg.action")
//检验二维码
#define CNCheckOrNewCodeUrl                   cn_API_Host(@"/Daren/qrcode/checkQrCode.action")
//扫码支付生成订单
#define CNCheckAddOrderForDarenUrl            cn_API_Host(@"/Daren/order/addOrder.action")
//目击者
#define CNChecksigninfoDarenUrl               cn_API_Host(@"/Daren/sign/checkSignInfo.action")
//扫码返回活动地址
#define CNCheckQrActivityDarenUrl             cn_API_Host(@"/Daren/sign/checkQrActivity.action")

//获取Gif表情包列表
#define CNGifFaceShopListUrl                  cn_API_Host(@"/Daren/section/getSectionList.action")
//获取一个表情包信息
#define CNGetGifFacePackageUrl                cn_API_Host(@"/Daren/section/getSectionDetail.action")

#pragma mark - 地址管理相关
//添加联系人
#define CNAddContactUrl                       cn_API_Host(@"/Daren/contact/addContact.action")

//查询联系人
#define CNReadContacstUrl                     cn_API_Host(@"/Daren/contact/readContacts.action")

//删除联系人
#define CNDeleteContacstUrl                   cn_API_Host(@"/Daren/contact/deleteContact.action")

//更新联系人
#define CNUpdateContacstUrl                   cn_API_Host(@"/Daren/contact/updateContact.action")


#pragma mark - 订单相关
//取消订单
#define CNOrderCancelUrl                      cn_API_Host(@"/Daren/order/cancelOrder.action")

//订单有误
#define CNOrderErrorUrl                       cn_API_Host(@"/Daren/order/correctOrder.action")

//查看订单
#define CNOrderCheckUrl                       cn_API_Host(@"/Daren/order/getOrderItem.action")

//生成订单
#define CNOrderCreateUrl                      cn_API_Host(@"/Daren/order/createOrder.action")

//修改订单
#define CNOrderModifyUrl                      cn_API_Host(@"/Daren/order/modifyOrder.action")

//确认订单
#define CNOrderConfirmUrl                     cn_API_Host(@"/Daren/order/confirmOrder.action")

//获取订单详情
#define CNGetOrderDetailUrl                   cn_API_Host(@"/Daren/order/getOrderItem.action")

//根据订单状态获取订单列表
#define CNGetOrderListUrl                     cn_API_Host(@"/Daren/order/getOrdersByStatus.action")

//申请退款
#define CNApplyRefundUrl                      cn_API_Host(@"/Daren/order/applyRefund.action")

//删除订单
#define CNDeleteOrderUrl                      cn_API_Host(@"/Daren/order/deleteOrder.action")

//催单
#define CNRemindOrderUrl                      cn_API_Contact(@"/CnliveIM/notify/remind.action")

//确认收货
#define CNConfirmRecvUrl                      cn_API_Host(@"/Daren/order/confirmRecv.action")

//评价
#define CNCommentDarenUrl                     cn_API_Host(@"/Daren/hudong/commentDaren.action")

//退款原因
#define CNRefunfReasonUrl                     cn_API_Refund(@"/json/refundReason.json")


#pragma mark - 发布
//发布视频 短视频接入点播云接口
#define CNPublishVideoUrl                     cn_API_OpenApi2(@"/vod_epg/svInputMamForAPP")

//发布视频 短视频上传获取bucket接口(七牛)
#define CNUploadGetBucketUrl                  cn_API_OpenApi2(@"/storage/getStorageInfo")

//发布图片,上传鉴权接口(七牛)
#define CNUploadAuthForApp                    cn_API_OpenApi2(@"/vod_epg/getUploadAuthForApp")

//上传视频成功的回调url
#define CNStockDarenVideoCallBackUrl          cn_API_Host(@"/Daren/stock/stockDarenVideo.action")

//发布获取上冰雪banner url
#define CNPublishGetSnowBannerUrl             cn_API_Host(@"/Daren/snow/getSnowBanner.action")


#pragma mark - 检验群公告敏感词
#define CNCheckFeaturedGroup                  cn_API_Host(@"/Daren/announcementCheck/checkFeaturedGroup.action")

#pragma mark - 特色群组活动管理
//获取群组活动收费记录
#define CNActiveGroupFundsRecordsUrl          cn_API_Host(@"/Daren/groupManagement/groupFundsRecords.action")

//获取投票详情
#define CNGetVoteMsgSourceUrl                 cn_API_Host(@"/Daren/vote/getVoteMsg.action")

//获取收费详情
#define CNQueryActivityFeeSourceUrl           cn_API_Host(@"/Daren/groupManagement/queryActivityFee.action")

//历任群主列表
#define CNGetSuccessiveGroupListUrl           cn_API_Host(@"/Daren/groupManagement/getSuccessiveGroupList.action")

//获取投票记录的列表
#define CNGetVotesSourceListUrl               cn_API_Host(@"/Daren/vote/getVotes.action")

//拉起支付并做定点预处理
#define CNPayByGroupMembersUrl                cn_API_Host(@"/Daren/groupManagement/payByGroupMembers.action")

//获取支付状态
#define CNCheckPaymentSourceUrl               cn_API_Host(@"/Daren/groupManagement/checkPayment.action")

//投票
#define CNGroupVoteSourceUrl                  cn_API_Host(@"/Daren/vote/groupVote.action")

//删除投票
#define CNStopVoteSourceUrl                   cn_API_Host(@"/Daren/vote/stopVote.action")

//获取提现的秘钥获取
#define CNGetCurrentKeySourceUrl              cn_API_Host(@"/Daren/groupManagement/getCurrentKey.action")

//验证秘钥的发送
#define CNSendSecretKeySourceUrl              cn_API_Host(@"/Daren/groupManagement/sendSecretKey.action")

//秘钥的验证
#define CNGroupManagementCheckKeyUrl          cn_API_Host(@"/Daren/groupManagement/checkKey.action")

//网++支付的预支付订单生成 & 网++ 余额支付
#define CNGroupWjjPayWjjPrePaySourceUrl       cn_API_Host(@"/Daren/wjjPay/unifiedOrder.action")

//网++  余额支付
#define CNGroupWjjPayWjjSourceUrl             cn_API_Host(@"/Daren/wjjPay/unifiedPay.action")

//返回公钥&随机AESKey
#define CNGroupReturnEncryptKeyUrl            cn_API_Host(@"/Daren/wjjPay/getKey.action")

//获取分享下载的地址
#define CNShareDownloadSourceUrl              cn_API_Host(@"/Daren/common/appDownLoadUrl.action")

//获取分享达人主页的地址
#define CNShareDarenHomeSourceUrl             cn_API_Host(@"/Daren/common/shareDarenHomePage.action")

//扫码获取棉花糖信息
#define CNOrderMHTSourceUrl                   cn_API_Host(@"/Daren/order/addOrderMHT.action")

//订阅号特色群群组转账状态查询
#define CNQueryTransferUrl                    cn_API_Host(@"/Daren/groupManagement/getQueryTransfer.action")

#pragma mark - 朋友圈
//发布上冰雪图文
#define CNPublishSnowUrl                      cn_API_Host(@"/Daren/snow/releaseSnow.action")

//发布朋友圈
#define CNPublishFriendsCircleUrl             cn_API_Host(@"/Daren/moment/releaseMoment.action")
// 选择圈子
#define CNGetPublishTypeListUrl               cn_API_Host(@"/Daren/publishType/getPublishTypeList.action")

//目击者发布朋友圈
#define CNPublishWintessCircleUrl             cn_API_Host(@"/Daren/witness/releaseWitness.action")
//获取朋友圈内容
#define CNGetFriendsCircleContentUrl          cn_API_Host(@"/Daren/moment/friendMoment.action")

//获取我的朋友圈内容(我的发布记录)
#define CNGetMyCircleContentUrl               cn_API_Host(@"/Daren/moment/myMoment.action")

//朋友圈评论或回复
#define CNFirendsCircleCommentReplyUrl        cn_API_Host(@"/Daren/hudong/commentMoment.action")

//删除朋友圈评论
#define CNFirendsCircleCommentDeleteUrl       cn_API_OpenApi2(@"/commentServices/services/commentForChat/delete")

//删除好友时,调用接口
#define CNDeleteFriendUrl                     cn_API_Host(@"/Daren/sub/deleteFriend.action")

//删除我的朋友圈某条内容
#define CNDeleteMyMomentItemUrl               cn_API_Host(@"/Daren/moment/deleteMyMoment.action")

//删除我的相关收藏
#define CNDeleteMyCollectionItemUrl           cn_API_Host(@"/Daren/stock/collection.action")

//读取朋友圈某条动态的评论(含回复)
#define CNGetMomentAllCommontUrl              cn_API_OpenApi2(@"/commentServices/services/commentForChat/readAll")

//读取朋友圈某条动态的点赞列表
#define CNGetMomentAllFavoriteUrl             cn_API_OpenApi2(@"/support/readAll")

//读取朋友圈某条动态的点赞列表(新接口)
#define CNGetMomentAllNEWFavoriteUrl          cn_API_OpenApi2(@"/support/loadSupport")

//朋友圈某条动态点赞
#define CNFavoriteMomentUrl                   cn_API_Host(@"/Daren/moment/praiseMoment.action")

////获取朋友圈新消息数量
//#define CNGetMomentNewMsgCountUrl           cn_API_Host(@"/Daren/moment/getNewMsg.action")

//获取朋友圈新消息详细
#define CNGetMomentNewMsgListUrl              cn_API_Host(@"/Daren/moment/getNewMsgList.action")

//获取朋友圈记录详情
#define CNGetMomentDetailUrl                  cn_API_Host(@"/Daren/moment/getMomentDetail.action")

//清空新消息
#define CNDeleteNewMsgUrl                     cn_API_Host(@"/Daren/moment/deleteNewMsg.action")

//个人资料相册
#define CNLookUpMyMsgCommontUrl               cn_API_Host(@"/Daren/moment/lookUpMyMsg.action")

#pragma mark - 分类
//分类频道(旧)
//#define CNCategoryGetChannelUrl             cn_API_Host(@"/Daren/center/getChannel.action")
//分类频道(新)
#define CNCategoryGetChannelUrl               cn_API_Classify(@"/contentApi/app")
//分类首页(旧 18.5.28)
//#define CNCategoryCenterPageUrl             cn_API_Host(@"/Daren/center/getCenterPage.action")
//分类首页(新)
#define CNCategoryCenterPageUrl               cn_API_Host(@"/Daren/classify/getNewCenterPage.action")

//分类次级页面-达人列表
#define CNGetDarensByCategoryUrl              cn_API_Host(@"/Daren/classify/getNewDarensByCategory.action")
//#define CNGetDarensByCategoryUrl            cn_API_Host(@"/Daren/center/getDarensByCategory.action")

//分类次级页面-已关注达人列表
#define CNGetDarensAlreadyUrl                 cn_API_Host(@"/Daren/classify/getDarenList.action")
//分类次级页面-未关注达人列表
#define CNGetDarensNeverUrl                   cn_API_Host(@"/Daren/classify/getUnFansOrDarenBean.action")
// 关注达人
#define CNAddDarenSubUrl                      cn_API_Host(@"/Daren/sub/addDarenSub.action")
// 取消关注
#define CNCancelDarenSubUrl                   cn_API_Host(@"/Daren/sub/cancelDarenSub.action")
//分类-搜索
#define CNCategorySearchDarenUrl              cn_API_Host(@"/Daren/search/searchDaren.action")
//点播-获取评论列表
#define CNGetCommentListUrl                   cn_API_OpenApi2(@"/commentServices/services/commentForHdBySpId/loadComment")
//点播-评论一条节目
#define CNCommentProgrammaUrl                 cn_API_OpenApi2(@"/commentServices/commentForHdBySpId/insertComment")
//点播-点赞一条节目
#define CNPraiseProgrammaUrl                  cn_API_OpenApi2(@"/commentServices/commentForHdBySpId/praiseComment")

#pragma mark - 听见中国
//获取音频播放详情
#define CNAudioPlayerDetailUrl                cn_API_Classify(@"/playApi/play")
//获取音频播放列表
#define CNAlbumAudioListUrl                   cn_API_Classify(@"/contentApi/albumAudioList")
//播放进度回调
#define CNAudioRecordScheduleUrl              cn_API_Classify(@"/recordApi/end")
//历史记录列表
#define CNAudioPastRecordsUrl                 cn_API_Classify(@"/recordApi/getRecords")
//删除历史记录列表
#define CNAudioDeletePastRecordsUrl           cn_API_Classify(@"/recordApi/delete")
// 简介列表
#define CNAlbumMsgUrl                         cn_API_Classify(@"/contentApi/getAlbumMsg")
//节目列表
#define CNAlbumListUrl                        cn_API_Classify(@"/contentApi/albumAudioList")

#pragma mark - 体育中国
//体育中国-约跑路线
#define CNSportsChinaRunningRouteUrl          cn_API_Host(@"/Daren/event/getEventList.action")
//体育中国-我的活动
#define CNSportsChinaMyActivitiesUrl          cn_API_Host(@"/Daren/event/getMySportActivity.action")
//体育中国-我的记录
#define CNSportsChinaMyRecordUrl              cn_API_Host(@"/Daren/event/getRouteRecordList.action")
//体育中国-活动成绩
#define CNSportsChinaActivitiyGradeUrl        cn_API_Host(@"/Daren/event/getByEventGetRecord.action")

//体育中国-详情
#define CNSportsChinaDetailUrl                cn_API_Host(@"/Daren/event/getEventDetails.action")
//体育中国-详情-已参与人员
#define CNSportsChinaParticipantsUrl          cn_API_Host(@"/Daren/event/getSignUpList.action")
//体育中国-详情-报名
#define CNSportsChinaSignUpUrl                cn_API_Host(@"/Daren/event/signUp.action")
//体育中国-比赛-保存
#define CNSportsChinaSaveRecordUrl            cn_API_Host(@"/Daren/event/routeRecord.action")
//踩点轨迹列表
#define CNSportsChinaShoeLineListUrl          cn_API_Host(@"/Daren/event/getShoeLineList.action")
//绑定轨迹
#define CNSportsChinaBindingShoeLineUrl       cn_API_Host(@"/Daren/event/bindingShoeLine.action")
//删除轨迹
#define CNSportsChinaDeleteShoeLineUrl        cn_API_Host(@"/Daren/event/deleteShoeLine.action")
//检查轨迹
#define CNSportsChinaCheckShoeLineUrl         cn_API_Host(@"/Daren/event/checkShoeLine.action")
//上传轨迹url
#define CNSportsChinaSaveShoeLineUrl          cn_API_Host(@"/Daren/event/saveShoeLine.action")

#pragma mark - 目击者
//新版目击者
//获取新目击者界面数据
#define CNGetWitnessMsgContent                cn_API_Host(@"/Daren/witness/getWitnessMsg.action")
//获取作品,动态数据
#define CNGetWitnessListContent               cn_API_Host(@"/Daren/witness/getWitnessList.action")
//获取作品,动态数据
#define CNGetWitnessCollectionListContent     cn_API_Host(@"/Daren/witness/getWitnessCollectionList.action")
//获取作品,动态数据
#define CNGetWitnessFollowsContent            cn_API_Host(@"/Daren/witness/witnessFollows.action")
//收藏目击者动态
#define CNGetWitnessCancelCollection          cn_API_Host(@"/Daren/witness/witnessCollectionType.action")
//对目击者的动态进行点赞
#define CNGetWitnessFavoriteMomentUrl         cn_API_OpenApi2(@"/support/supportBySpIdForRank/insert")
//对目击者的粉丝列表数据获取
#define CNGetWitnessFollowsMomentUrl          cn_API_Host(@"/Daren/witness/getWitnessFollowsList.action")
//获取目击者广场视频列表
#define  CNGetWitnessAllListUrl               cn_API_Classify(@"/contentApi/witnessNewList")
//目击者添加关注和取消关注
#define  CNGetWitnessFollowsUrl               cn_API_Host(@"/Daren/witness/witnessFollows.action")
//目击者获取评论列表
#define  CNGetWitnessCommentLoadUrl           cn_API_OpenApi2(@"/commentServices/services/commentForHdBySpId/loadComment")
//目击者添加评论
#define  CNGetWitnessInsertCommentUrl         cn_API_OpenApi2(@"/commentServices/commentForHdBySpId/insertComment")
//目击者获取相关推荐列表
#define  CNGetWitnessRecommendListUrl         cn_API_Classify(@"/playApi/moreList")
//目击者获取目击者视频列表
#define  CNGetWittnessVideoListUrl            cn_API_Classify(@"/contentApi/getWitness")



#pragma mark - 点播
//视频点播
#define CNVideoDemandUrl                      cn_API_Classify(@"/playApi/play")
//查看全部
#define CNLookAtAllUrl                        cn_API_Classify(@"/playApi/moreList")

#define CNCommentsListUrl                     cn_API_OpenApi2(@"/commentServices/services/commentForChat/loadComment")
#define CNCommentsAddUrl                      cn_API_OpenApi2(@"/commentServices/services/commentForChat/insert")
#define CNCommentsDeleteUrl                   cn_API_OpenApi2(@"/commentServices/services/commentForChat/delete")

//获取点播302地址
#define CNGetVodUrl                           cn_API_OpenApi2(@"/vod_ips/vodplayByAPP")

//帮助与反馈上传反馈信息&图片
#define CNUpdateFeedbackUrl                   cn_API_Host(@"/Daren/feedback/collectFeedback.action")
//检查扫描结果是否有效
#define CNCheckQrCodeUrl                      cn_API_Host(@"/Daren/qrcode/checkQrCodeUrl.action")

// Native 分类
// 获取所有频道列表
#define CNAllChannelList                      @"http://intertv.cnlive.com/zgw/api/channellist"
//App配置信息
#define AppStart                              @"http://intertv.cnlive.com/zgw/api/appstart"

#pragma mark - 申请目击者
// 目击者身份信息申请
#define CNApplyWitnessUrl                     cn_API_Host(@"/Daren/witness/applyWitness.action")
// 目击者身份校验
#define CNCheckWitnessUrl                     cn_API_Host(@"/Daren/witness/checkWitness.action")
//获取订阅号主页内容
#define CNGetSpHomePageInfoUrl                cn_API_Classify(@"/contentApi/getSpInfo")
//获取订阅号分页内容
#define CNGetSpContentListUrl                 cn_API_Classify(@"/contentApi/getSpContentList")
//关注订阅号
#define CNGetSpAddFollowsUrl                  cn_API_Host(@"/Daren/group/addFollows.action")
//取消关注订阅号
#define CNGetSpUserCancelFollowUrl            cn_API_Host(@"/Daren/group/userCancelFollow.action")
//加入群聊
#define CNGetSpUserAddGroupUrl                cn_API_Host(@"/Daren/group/userAddGroup.action")
//获取全部粉丝
#define CNGetSPAllFansUrl                     cn_API_Host(@"/Daren/group/getFans.action")
//订阅号加入群聊
#define CNGetUserAddGroupUrl                  cn_API_Host(@"/Daren/group/userAddGroup.action")

#pragma mark - 我的
// 用户uid检测达人状态
#define CNCheckDarenUrl                       cn_API_Host(@"/Daren/member/checkDaren.action")
// 获取我的余额
#define CNGetBalanceUrl                       cn_API_Host(@"/Daren/member/getBalance.action")
// 获取交易记录
#define CNGetTradingRecordUrl                 cn_API_Host(@"/Daren/transaction/getTransactionRecord.action")
// 获取与商户的交易记录
#define CNViewTransferRecordUrl               cn_API_Host(@"/Daren/groupManagement/viewTransferRecord.action")
// 交易记录详情
#define CNGetRecordSourceMsgUrl               cn_API_Host(@"/Daren/transaction/getRecordSourceDetail.action")
// 是否有支付密码
#define CNPasswordIsExistingUrl               cn_API_Host(@"/Daren/wjjPay/passwordIsExisting.action")
// 设置支付密码
#define CNSetPasswordUrl                      cn_API_Host(@"/Daren/wjjPay/setPassword.action")
// 更改密码时发送验证码
#define CNSendSMSSetPasswordUrl               cn_API_Host(@"/Daren/sms/sendSMS.action")
// 更改密码时验证验证码
#define CNCheckVerifyCodeSetPasswordUrl      cn_API_Host(@"/Daren/sms/checkVerifyCode.action")
// 查看是否允许好友查看生活圈的状态
#define CNIsAllowFindStrangerSwitchUrl       cn_API_Host(@"/Daren/moment/findStrangerSwitch.action")
// 切换是否允许好友查看生活圈
#define CNSwitchAllowStrangerUrl             cn_API_Host(@"/Daren/moment/strangerSwitch.action")

#pragma mark - 积分
#define CNIntegralGetTasksUrl                cn_API_Host(@"/Daren/integral/getTasks.action")//任务列表
#define CNIntegralAddUrl                     cn_API_Host(@"/Daren/integral/addTask.action")//增加积分
#define CNIntegralDetailsUrl                 cn_API_Host(@"/Daren/integral/integralRecord.action")//积分明细
#define CNIntegralSignInUrl                  cn_API_Host(@"/Daren/integral/checkIn.action")//签到
#define CNCancellationUrl                    cn_API_Host(@"/Daren/common/cancellationAccount.action")//注销账号

#pragma mark - 隐私
#define CNPrivacyNoLetHimSeeListUrl          cn_API_Host(@"/Daren/moment/getDoNotletFsids.action")//不让他看列表
#define CNPrivacyNoSeeHimListUrl             cn_API_Host(@"/Daren/moment/getNoLookFsids.action")//不看他列表
#define CNPrivacyNoLetHimSeeAddUrl           cn_API_Host(@"/Daren/moment/addDoNotletFsids.action")//不让他看增加
#define CNPrivacyNoSeeHimAddUrl              cn_API_Host(@"/Daren/moment/addNoLookFsids.action")//不看他增加

#pragma mark - 订阅号
//选择你感兴趣的内容
#define CNInterestedContentUrl               cn_API_Host(@"/Daren/group/getSpTags.action")
//推荐订阅号
#define CNRecommendedSubscribeUrl            cn_API_Host(@"/Daren/group/getSubscriptionNumbers.action")
//推荐订阅号完成
#define CNRecommendedSubscribeFinishUrl      cn_API_Host(@"/Daren/group/userFollowAddGroup.action")
//全部订阅号(不传sid)
#define CNAllSubscribeUrl                    cn_API_Host(@"/Daren/group/getMoreSubscriptionNumbers.action")
//全部订阅号(传sid)
#define CNAllSubscribeSidUrl                 cn_API_Host(@"/Daren/group/getCategorySubscriptionNumbers.action")
//关注订阅号
#define CNAddAttentionSubscribeUrl           cn_API_Host(@"/Daren/group/addFollows.action")
//取消关注订阅号
#define CNCancelAttentionSubscribeUrl        cn_API_Host(@"/Daren/group/userCancelFollow.action")
//加入群聊订阅号
#define CNJumpGroupSubscribeUrl              cn_API_Host(@"/Daren/group/userAddGroup.action")
//设置默认订阅号
#define CNSubscribeDefaultAddFollowsUrl      cn_API_Host(@"/Daren/group/defaultAddFollows.action")
//获取推荐的订阅号推荐内容
#define CNLiveSubscribeMsgUrl                cn_API_Host(@"/Daren/group/subscribeMsg.action")
//获取已关注的订阅号列表
#define CNLiveOfficialAccountUrl             cn_API_Host(@"/Daren/group/officialAccount.action")
//订阅号获取预约列表
#define CNLiveContentApiLiveListUrl          cn_API_Classify(@"/contentApi/getLiveList")
//预约订阅号直播
#define CNLiveContentApiLiveAppointUrl       cn_API_Classify(@"/contentApi/liveAppoint")
//订阅号热推
#define CNSubscribeHotPushUrl                cn_API_Classify(@"/contentApi/getHotContent")
//一键关注
#define CNSubscribeOneKeyConcernUrl          cn_API_Host(@"/Daren/group/oneKeyConcern.action")

#pragma mark - App配置信息
// 获取最新版本信息
#define CNGetNewestVersionUrl                cn_API_Host(@"/Daren/common/getNewestVersion.action")
// 获取App配置信息(统一)
#define CNGetCommonMsgUrl                    cn_API_Host(@"/Daren/common/getCommonMsg.action")

#pragma mark 活动投票
//创建活动收费
#define CNAddGroupCharge                     cn_API_Host(@"/Daren/groupManagement/addGroupCharge.action")
//邀请加群
#define CNInvitationAddgroup                 cn_API_Host(@"/Daren/groupManagement/invitationAddGroup.action")
//获取通知列表
#define CNGetnoticesubs                      cn_API_Host(@"/Daren/sub/getNoticeSubs.action")
// 同意加入群
#define CNAgreeAddgroup                      cn_API_Contact(@"/CnliveIM/notify/addGroup.action") //@"https://wjjim.cnlive.com/CnliveIM/notify/addGroup.action")
// 创建投票
#define CNAddvote                            cn_API_Host(@"/Daren/vote/addVote.action")
//储存历任群主,再特色群创建和转让群主的时候创建
#define CNSavesuccessivegroup                cn_API_Host(@"/Daren/groupManagement/saveSuccessiveGroup.action")

#define CNGetAgreementH5Url                  cn_API_Refund(@"/json/wjj_user_terms.json")

#define CNWeChatPayUrl                       cn_API_Host(@"/Daren/pay/notifyWeChatPay.action")

#define CNAliPayUrl                          cn_API_Host(@"/Daren/pay/notifyAliPay.action")

#define CNUnionPayUrl                        cn_API_Host(@"/Daren/pay/notifyUnionPay.action")

#define CNJSFYNotifyUrl                      cn_API_Host(@"/Daren/pay/jsfyPayCallback.action")

//获取特色群限制人数
#define CNGroupMemberLimit                   @"https://wjj.ys1.cnliveimg.com/json/GroupMemberLimit.json"

#pragma mark - 获取观察者相关
//获取观察者相关数据
#define CNWitnessPublishContent              cn_API_Host(@"/Daren/witness/getWitnessPublishContent.action")

//删除观察者相关数据
#define CNDeleteOrUpdateWitnessURL           cn_API_Host(@"/Daren/witness/deleteOrUpdateWitnessPublish.action")

#pragma mark - 直播

//取得相关视频
#define CNPlayerBackOrRelatedUrl             cn_API_Classify(@"/contentApi/playList")

//取得直播数据
#define CNPlayerDetailUrl                    cn_API_Classify(@"/playApi/play")

//预约
#define CNPlayerOrderUrl                     cn_API_Classify(@"/contentApi/liveAppoint")

//获取直播活动播放信息4App
#define CNLiveActivityPlayInfo4App           cn_API_OpenApi2(@"/live_epg/getLiveActivityPlayInfo4App")
//获取直播间详情
#define CNLiveRoomInfo                       cn_API_Classify(@"/playApi/play")

#define CNNewLiveInfoWeb                     cn_API_Classify(@"/contentApi/")

//获取点播播放信息
#define CNLiveGetVodRates                    cn_API_OpenApi2(@"/vod_epg/getRates")

//活动举报
#define CNLiveActivityReportContent          cn_API_Report(@"/CnliveMobile/json/report.action")

//订阅号关注
#define CNLiveSPAddFollow                    cn_API_Host(@"/Daren/group/addFollows.action")

//取消订阅号关注
#define CNLiveSPCancelFollow                 cn_API_Host(@"/Daren/group/userCancelFollow.action")

//订阅号取消管制

//视频下载地址
#define CNLiveVideoDownloadUrl               cn_API_OpenApi2(@"/vod_ips/vodplayByAPP")

#pragma mark - 黑名单
//校验黑名单
#define CNCheckBlackUser                     cn_API_Contact(@"/CnliveIM/notify/checkBlackList.action")
//添加黑名单
#define CNBlackListAdd                       cn_API_Host(@"/Daren/blackList/blackListAdd.action")
//删除黑名单
#define CNBlackListDelete                    cn_API_Host(@"/Daren/blackList/blackListDelete.action")
//黑名单列表
#define CNBlackList                          cn_API_Host(@"/Daren/blackList/blackListGet.action")

#pragma mark - 好友生活圈观看权限设置
//增加不让他人看
#define CNAdddonotletfsids                   cn_API_Host(@"/Daren/moment/addDoNotletFsids.action")
//取消不让他人看
#define CNDeldonotletfsids                   cn_API_Host(@"/Daren/moment/delDoNotletFsids.action")
//不让他看人列表
#define CNGetdonotletfsids                   cn_API_Host(@"/Daren/moment/getDoNotletFsids.action")

//增加不看他的
#define CNAddnolookfsids                     cn_API_Host(@"/Daren/moment/addNoLookFsids.action")
//取消不看他的
#define CNDelnolookfsids                     cn_API_Host(@"/Daren/moment/delNoLookFsids.action")
//不看他的列表
#define CNGetnolookfsids                     cn_API_Host(@"/Daren/moment/getNoLookFsids.action")


#endif /* CNLiveInterface_h */