Commit f95567135278f9189a255f5d6b9858b2df4814ce
1 parent
8af9039a
no message
Showing
3 changed files
with
82 additions
and
2 deletions
CNLiveEnvironment.podspec
CNLiveEnvironment/Classes/CNLiveInterface.h
| ... | ... | @@ -259,6 +259,12 @@ |
| 259 | 259 | //订阅号特色群群组转账状态查询 |
| 260 | 260 | #define CNQueryTransferUrl cn_API_Host(@"/Daren/groupManagement/getQueryTransfer.action") |
| 261 | 261 | |
| 262 | +//获取群成员 | |
| 263 | +#define CNGroupMember cn_API_Contact(@"/CnliveIM/notify/groupMemberRole.action") | |
| 264 | + | |
| 265 | +//获取所有圈子 | |
| 266 | +#define CNGetAllHomepage cn_API_Classify(@"/contentApi/getAllHomepage") | |
| 267 | + | |
| 262 | 268 | #pragma mark - 朋友圈 |
| 263 | 269 | //发布上冰雪图文 |
| 264 | 270 | #define CNPublishSnowUrl cn_API_Host(@"/Daren/snow/releaseSnow.action") |
| ... | ... | @@ -319,6 +325,11 @@ |
| 319 | 325 | #define CNLookUpMyMsgCommontUrl cn_API_Host(@"/Daren/moment/lookUpMyMsg.action") |
| 320 | 326 | |
| 321 | 327 | #pragma mark - 分类 |
| 328 | +//获取分类资讯page内容 | |
| 329 | +#define CNGetClassifyPageUrl cn_API_Classify(@"/contentApi/getPage") | |
| 330 | +//分类频道搜索 | |
| 331 | +#define CNClassifySearchUrl cn_API_Classify(@"/contentApi/search") | |
| 332 | + | |
| 322 | 333 | //分类频道(旧) |
| 323 | 334 | //#define CNCategoryGetChannelUrl cn_API_Host(@"/Daren/center/getChannel.action") |
| 324 | 335 | //分类频道(新) |
| ... | ... | @@ -655,5 +666,74 @@ |
| 655 | 666 | //不看他的列表 |
| 656 | 667 | #define CNGetnolookfsids cn_API_Host(@"/Daren/moment/getNoLookFsids.action") |
| 657 | 668 | |
| 669 | +#pragma mark - 小家音响 | |
| 670 | +//获取家庭ID | |
| 671 | +#define CNBoxGetFamilyIDAndDetailUrl cn_API_Host(@"/Daren/sound/getFamilyList.action") | |
| 672 | + | |
| 673 | +//获取家庭ID | |
| 674 | +#define CNBoxGetNetworkResultUrl cn_API_Host(@"/Daren/sound/getNetworkResult.action") | |
| 675 | + | |
| 676 | +//获取家庭身份列表 | |
| 677 | +#define CNBoxGetFamilyRoletUrl cn_API_Host(@"/Daren/sound/getFamilyRole.action") | |
| 678 | + | |
| 679 | +//设备远程控制开关 | |
| 680 | +#define CNBoxRemoteControlDeviceUrl cn_API_Host(@"/Daren/sound/remoteControlStatus.action") | |
| 681 | +//获取设备在线状态 | |
| 682 | +#define CNBOXGetBackOnlineTypeUrl cn_API_Host(@"/Daren/sound/getRemoteControlStatus.action") | |
| 683 | +//获取设备详情信息 | |
| 684 | +#define CNBOXGetDeviceDetailMsgUrl cn_API_Host(@"/Daren/sound/getDeviceDetailMsg.action") | |
| 685 | + | |
| 686 | +//修改设备名称 | |
| 687 | +#define CNBOXUpdateDeviceNameUrl cn_API_Host(@"/Daren/sound/updateDeviceName.action") | |
| 688 | +//切换接入WIFI接口 | |
| 689 | +#define CNBOXChangeWIFIUrl cn_API_Host(@"/Daren/sound/changeWiFi.action") | |
| 690 | + | |
| 691 | +//获取家庭成员列表(用于校验通讯录) | |
| 692 | +#define CNBOXGetFamilyMemberUrl cn_API_Host(@"/Daren/sound/getFamilyMember.action") | |
| 693 | + | |
| 694 | +//获取设置角色列表 | |
| 695 | +#define CNBOXGetSetRoleListUrl cn_API_Host(@"/Daren/sound/getSetRoleList.action") | |
| 696 | + | |
| 697 | +//音箱家庭邀请成员 | |
| 698 | +#define CNBOXFamilyGroupInviteYDUrl cn_API_Host(@"/Daren/sound/familyGroupInviteYD.action") | |
| 699 | + | |
| 700 | +//修改或移出家庭成员身份(删除) | |
| 701 | +#define CNBOXUpdateFamilyMemberRoleUrl cn_API_Host(@"/Daren/sound/updateFamilyMemberRole.action") | |
| 702 | + | |
| 703 | +//音箱设备暂停播放 | |
| 704 | +#define CNBOXStopPlaybackDeviceUrl cn_API_Host(@"/Daren/sound/stopPlaybackDevice.action") | |
| 705 | + | |
| 706 | +//移动播放接口 | |
| 707 | +#define CNBOXPlaybackDeviceUrl cn_API_Host(@"/Daren/sound/playbackDevice.action") | |
| 708 | + | |
| 709 | +//解绑设备 | |
| 710 | +#define CNBOXDeleteDeviceUrl cn_API_Host(@"/Daren/sound/deleteDevice.action") | |
| 711 | + | |
| 712 | +#pragma mark - 登录 | |
| 713 | +//添加三方登录 | |
| 714 | +#define CNLoginIn3rdForWJJUrl cn_API_OpenApi2(@"/user/loginIn3rdForWJJ") | |
| 715 | + | |
| 716 | +//添加三方绑定并绑定手机号 | |
| 717 | +#define CNLoginIn3rdAndMobileForWJJUrl cn_API_OpenApi2(@"/user/loginIn3rdAndMobileForWJJ") | |
| 718 | + | |
| 719 | +//添加三方绑定 | |
| 720 | +#define CNLoginBind3rdUrl cn_API_OpenApi2(@"/user/bind3rd") | |
| 721 | + | |
| 722 | +//解除三方绑定 | |
| 723 | +#define CNLoginUnBind3rdUrl cn_API_OpenApi2(@"/user/unBind3rd") | |
| 724 | + | |
| 725 | +#pragma mark - 明星号 | |
| 726 | +//获取明星号主页 | |
| 727 | +#define CNGetStarHomePageInfoUrl cn_API_Classify(@"/contentApi/getHomepageInfo") | |
| 728 | + | |
| 729 | +//获取明星号瀑布流 | |
| 730 | +#define CNGetHomeContentListUrl cn_API_Classify(@"/contentApi/getHomeContentList") | |
| 731 | + | |
| 732 | +//明星号关注动作上交 | |
| 733 | +#define CNStarAddStarFollowsUrl cn_API_Host(@"/Daren/group/addStarFollows.action") | |
| 734 | + | |
| 735 | +//明星号粉丝数据获取 | |
| 736 | +#define CNGetAllFansListFollowsUrl cn_API_Host(@"/Daren/group/getStarFans.action") | |
| 737 | + | |
| 658 | 738 | |
| 659 | 739 | #endif /* CNLiveInterface_h */ | ... | ... |
Example/CNLiveEnvironment/XWViewController.m
| ... | ... | @@ -33,7 +33,7 @@ |
| 33 | 33 | // NSLog(@"测试"); |
| 34 | 34 | // NSLog(@"id%@",WeiBoShareAppId_Share); |
| 35 | 35 | // NSLog(@"key%@",WeiBoShareAppKey_Share); |
| 36 | -// NSLog(@"secret%@",WeiBoShareAppSecret_Share); | |
| 36 | + NSLog(@"CNClassifySearchUrl %@",CNClassifySearchUrl); | |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | - (void)didReceiveMemoryWarning | ... | ... |