Authored by 盖剑秋

Release.

... ... @@ -767,7 +767,7 @@
TargetAttributes = {
EF14E52A1C884C71002F1BEF = {
CreatedOnToolsVersion = 7.2.1;
DevelopmentTeam = MLGBPD9NXN;
DevelopmentTeam = 6U82P566A4;
SystemCapabilities = {
com.apple.BackgroundModes = {
enabled = 1;
... ... @@ -1158,9 +1158,9 @@
"$(PROJECT_DIR)/YohoLive/yoho/Vendors/Zine",
"$(PROJECT_DIR)/YohoLive/yoho/Vendors/Zipzap",
);
PRODUCT_BUNDLE_IDENTIFIER = kennaki.livepush;
PRODUCT_BUNDLE_IDENTIFIER = cn.yoho.live.ent;
PRODUCT_NAME = YohoLive;
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE = "a054e3fc-ce5a-4cd0-a13b-21f70ebeab79";
USER_HEADER_SEARCH_PATHS = ./YohoLive/TXRTMPSDK.framework/Headers;
VALID_ARCHS = "arm64 armv7 armv7s i386";
};
... ... @@ -1219,9 +1219,9 @@
"$(PROJECT_DIR)/YohoLive/yoho/Vendors/Zine",
"$(PROJECT_DIR)/YohoLive/yoho/Vendors/Zipzap",
);
PRODUCT_BUNDLE_IDENTIFIER = kennaki.livepush;
PRODUCT_BUNDLE_IDENTIFIER = cn.yoho.live.ent;
PRODUCT_NAME = YohoLive;
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE = "a054e3fc-ce5a-4cd0-a13b-21f70ebeab79";
USER_HEADER_SEARCH_PATHS = ./YohoLive/TXRTMPSDK.framework/Headers;
VALID_ARCHS = "arm64 armv7 armv7s i386";
};
... ...
... ... @@ -109,6 +109,9 @@
@end
#define Envir_Test @"http://newboys.test.yoho.cn/"
#define Envir_Release @"http://new.yohoboys.com/" //正式环境
@implementation YH_RootViewController
- (void)liveNotifyEndSuccess {
... ... @@ -204,7 +207,7 @@
AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
manager.responseSerializer.acceptableContentTypes = [manager.responseSerializer.acceptableContentTypes setByAddingObject:@"text/html"];
NSURLSessionDataTask *task= [manager
GET:@"http://new.yohoboys.com/yohoboyins/v4/qcloud/getPushFlow"
GET:[NSString stringWithFormat:@"%@,%@",Envir_Release,@"yohoboyins/v4/qcloud/getPushFlow"]
parameters:nil progress:NULL
success:^(NSURLSessionDataTask * _Nonnull task, id _Nullable responseObject) {
if ([responseObject isKindOfClass:[NSDictionary class]]) {
... ... @@ -535,7 +538,7 @@
NSString *md5 = [self md5:temp];
NSURLSessionDataTask *task = [manager
GET:@"http://new.yohoboys.com/yohoboyins/v4/qcloud/closeLive"
GET:[NSString stringWithFormat:@"%@,%@",Envir_Release,@"yohoboyins/v4/qcloud/closeLive"]
parameters:@{@"cid":_currentChannel.room?:@"0",@"secret":md5}
progress:NULL
success:^(NSURLSessionDataTask * _Nonnull task, id _Nullable responseObject) {
... ... @@ -683,7 +686,7 @@
NSString *temp=[NSString stringWithFormat:@"%@yohocms",_currentChannel.room?:@"0"];
NSString *md5 = [self md5:temp];
NSURLSessionDataTask *task = [manager
GET:@"http://new.yohoboys.com/yohoboyins/v4/qcloud/startLive"
GET:[NSString stringWithFormat:@"%@,%@",Envir_Release,@"yohoboyins/v4/qcloud/startLive"]
parameters:@{@"cid":_currentChannel.room?:@"0",@"secret":md5}
progress:NULL
success:^(NSURLSessionDataTask * _Nonnull task, id _Nullable responseObject) {
... ...
... ... @@ -10,8 +10,8 @@
//http://previewboys.yoho.cn/yohoboyins/v4预生产环境
//http://newboys.test.yoho.cn/yohoboyins/v4 测试环境
//http://new.yohoboys.com/yohoboyins/v4/正式环境
#define API_BASE_URL_STRING @"http://newboys.test.yoho.cn/yohoboyins/v4" //预生产环境
//#define API_BASE_URL_STRING @"http://new.yohoboys.com/yohoboyins/v4"//正式环境
//#define API_BASE_URL_STRING @"http://newboys.test.yoho.cn/yohoboyins/v4" //预生产环境
#define API_BASE_URL_STRING @"http://new.yohoboys.com/yohoboyins/v4"//正式环境
#define API_h5ezine_URL_STRING @"http://h5api.myoho.net/index.php"
#define SOCKET_LIVE_HOST @"123.206.65.220"
#define SOCKET_LIVE_PORT 9512
... ...
... ... @@ -34,8 +34,8 @@
//http://previewboys.yoho.cn/yohoboyins/v4预生产环境
//http://newboys.test.yoho.cn/yohoboyins/v4 测试环境
//http://new.yohoboys.com/yohoboyins/v4/正式环境
#define API_BASE_URL_STRING @"http://newboys.test.yoho.cn/yohoboyins/v4" //预生产环境
//#define API_BASE_URL_STRING @"http://new.yohoboys.com/yohoboyins/v4"//正式环境
//#define API_BASE_URL_STRING @"http://newboys.test.yoho.cn/yohoboyins/v4" //预生产环境
#define API_BASE_URL_STRING @"http://new.yohoboys.com/yohoboyins/v4"//正式环境
#define API_h5ezine_URL_STRING @"http://h5api.myoho.net/index.php"
#define SOCKET_LIVE_HOST @"123.206.65.220"
#define SOCKET_LIVE_PORT 9512
... ... @@ -44,7 +44,7 @@
#else
#define API_BASE_URL_STRING @"http://newboys.test.yoho.cn/yohoboyins/v4"
#define API_BASE_URL_STRING @"http://new.yohoboys.com/yohoboyins/v4"//正式环境
#define API_h5ezine_URL_STRING @"http://h5api.myoho.net/index.php"
#define SOCKET_LIVE_TIMEOUT 10
... ...