Commit 75598e95 cgx

V 1.1.0 build 2

1 个父辈 25044acb
...@@ -2288,7 +2288,7 @@ ...@@ -2288,7 +2288,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepDebug.entitlements; CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepDebug.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 2;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 4NDZ6UX8PW; DEVELOPMENT_TEAM = 4NDZ6UX8PW;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
...@@ -2364,7 +2364,7 @@ ...@@ -2364,7 +2364,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/DreamSleep.entitlements; CODE_SIGN_ENTITLEMENTS = DreamSleep/DreamSleep.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = 4NDZ6UX8PW; DEVELOPMENT_TEAM = 4NDZ6UX8PW;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
...@@ -2500,7 +2500,7 @@ ...@@ -2500,7 +2500,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepBeta.entitlements; CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepBeta.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 2;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 4NDZ6UX8PW; DEVELOPMENT_TEAM = 4NDZ6UX8PW;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
......
...@@ -15,13 +15,12 @@ ...@@ -15,13 +15,12 @@
NSString *argStr = [NSString stringWithFormat:@"query{%@(sys_code:\"IOS\",version_code:\"stable\",version_num:\"%@\")}", api, DSAppVersion]; NSString *argStr = [NSString stringWithFormat:@"query{%@(sys_code:\"IOS\",version_code:\"stable\",version_num:\"%@\")}", api, DSAppVersion];
return [self httpPostBodyRequestWithAPI:api params:@{@"query" : argStr} view:nil hasNetActivity:YES loadingInfo:nil hasFailInfo:YES success:^(NSDictionary * _Nonnull apiDic) { return [self httpPostBodyRequestWithAPI:api params:@{@"query" : argStr} view:nil hasNetActivity:YES loadingInfo:nil hasFailInfo:YES success:^(NSDictionary * _Nonnull apiDic) {
DSLog(@"App版本升级接口apiDic:%@", apiDic); DSLog(@"App版本升级接口apiDic:%@", apiDic);
requestModel.resCode = DSResCodeSuccess;
NSDictionary *resultDic = apiDic[@"result"]; NSDictionary *resultDic = apiDic[@"result"];
if (resultDic && [resultDic isKindOfClass:[NSDictionary class]]) { if (resultDic && [resultDic isKindOfClass:[NSDictionary class]]) {
requestModel.resCode = DSResCodeSuccess;
requestModel.update_Way = [resultDic[@"Update_Way"] intValue]; requestModel.update_Way = [resultDic[@"Update_Way"] intValue];
requestModel.version_Num = resultDic[@"Version_Num"]; requestModel.version_Num = resultDic[@"Version_Num"];
requestModel.version_Content = resultDic[@"Version_Content"]; requestModel.version_Content = resultDic[@"Version_Content"];
requestModel.resCode = DSResCodeSuccess;
} else { } else {
// APP已经是最新版本了 // APP已经是最新版本了
requestModel.resCode = DSResCodeNoUpdate; requestModel.resCode = DSResCodeNoUpdate;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!