Commit 16dc30b637b79f896cc06e85105651525bb79578
1 parent
91982ce4
添加验证主播地址
Showing
2 changed files
with
11 additions
and
0 deletions
LiveVideoCloud/UtilKits/ServerUrl/ZXServerUrl.h
LiveVideoCloud/UtilKits/ServerUrl/ZXServerUrl.m
| @@ -26,6 +26,8 @@ static NSString *g_SearchContentURL = @"/from/huntKeyWordApi/huntKeyWords.do";// | @@ -26,6 +26,8 @@ static NSString *g_SearchContentURL = @"/from/huntKeyWordApi/huntKeyWords.do";// | ||
| 26 | /** 直播列表 */ | 26 | /** 直播列表 */ |
| 27 | static NSString *g_LiveListURL = @"/open/api2/live_epg/sp/activityList4App"; | 27 | static NSString *g_LiveListURL = @"/open/api2/live_epg/sp/activityList4App"; |
| 28 | 28 | ||
| 29 | +/** 验证主播是否有直播权限 */ | ||
| 30 | +static NSString *g_VerifyLiveAuthURL = @"/open/api2/live_epg/channel/info4App"; | ||
| 29 | 31 | ||
| 30 | @implementation ZXServerUrl | 32 | @implementation ZXServerUrl |
| 31 | 33 | ||
| @@ -61,4 +63,10 @@ static NSString *g_LiveListURL = @"/open/api2/live_epg/sp/activityList4App"; | @@ -61,4 +63,10 @@ static NSString *g_LiveListURL = @"/open/api2/live_epg/sp/activityList4App"; | ||
| 61 | return [NSString stringWithFormat:@"%@%@", serverBaseURL, g_LiveListURL]; | 63 | return [NSString stringWithFormat:@"%@%@", serverBaseURL, g_LiveListURL]; |
| 62 | } | 64 | } |
| 63 | 65 | ||
| 66 | +/** 验证主播是否有直播权限 */ | ||
| 67 | ++ (NSString *)verifyLiveAuthURL | ||
| 68 | +{ | ||
| 69 | + return [NSString stringWithFormat:@"%@%@", serverBaseURL, g_VerifyLiveAuthURL]; | ||
| 70 | +} | ||
| 71 | + | ||
| 64 | @end | 72 | @end |