Skip to content

Commit e2fa3a3

Browse files
committed
bugfix
1 parent 587936f commit e2fa3a3

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

Coding_iOS/Coding_iOS-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</dict>
3838
</array>
3939
<key>CFBundleVersion</key>
40-
<string>4.9.5.201712281100</string>
40+
<string>4.9.5.201712281730</string>
4141
<key>ITSAppUsesNonExemptEncryption</key>
4242
<false/>
4343
<key>LSApplicationQueriesSchemes</key>

Coding_iOS/Controllers/MeSetting/SettingPhoneViewController.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ - (void)doneBtnClicked:(id)sender{
220220
[weakSelf.navigationController popViewControllerAnimated:YES];
221221
if (![Login curLoginUser].is_phone_validated.boolValue) {//之前没有绑定过手机号的,奖励码币
222222
[Login curLoginUser].is_phone_validated = @(YES);
223+
[Login curLoginUser].phone = weakSelf.phone;
224+
[Login curLoginUser].phone_country_code = weakSelf.phone_country_code;
223225
[RewardTipManager showTipWithTitle:@"成功完成手机验证 !" rewardPoint:@"0.1 MB"];
224226
}else{
225227
[NSObject showHudTipStr:@"手机号码绑定成功"];

Coding_iOS/Util/Manager/CodingVipTipManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ - (void)p_show{
108108
//初始状态
109109
_bgView.backgroundColor = [UIColor clearColor];
110110
_contentView.alpha = 0;
111-
UIView *spV = [BaseViewController presentingVC].view;
111+
UIView *spV = [BaseViewController presentingVC].navigationController.view;
112112
_bgView.frame = spV.bounds;
113113
[spV addSubview:_bgView];
114114
[UIView animateWithDuration:0.3 animations:^{

Coding_iOS/Util/Manager/Coding_NetAPIManager.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2308,9 +2308,9 @@ - (void)request_UserInfo_WithObj:(User *)curUser andBlock:(void (^)(id data, NSE
23082308
id resultData = [data valueForKeyPath:@"data"];
23092309
User *user = [NSObject objectOfClass:@"User" fromJSON:resultData];
23102310
if (user.id.intValue == [Login curLoginUser].id.intValue) {
2311-
if (user.vip.integerValue == 2 && user.isUserInfoCompleted) {
2311+
if (user.vip.integerValue == 2) {
23122312
User *loginU = [Login curLoginUser];
2313-
if (loginU.vip.integerValue < 2 && !loginU.isUserInfoCompleted) {
2313+
if (loginU.vip.integerValue < 2) {
23142314
[CodingVipTipManager showTip];
23152315
}
23162316
}
@@ -2411,9 +2411,9 @@ - (void)request_UpdateUserInfo_WithObj:(User *)curUser andBlock:(void (^)(id dat
24112411
id resultData = [data valueForKeyPath:@"data"];
24122412
User *user = [NSObject objectOfClass:@"User" fromJSON:resultData];
24132413
if (user) {
2414-
if (user.vip.integerValue == 2 && user.isUserInfoCompleted) {
2414+
if (user.vip.integerValue == 2) {
24152415
User *loginU = [Login curLoginUser];
2416-
if (loginU.vip.integerValue < 2 && !loginU.isUserInfoCompleted) {
2416+
if (loginU.vip.integerValue < 2) {
24172417
[CodingVipTipManager showTip];
24182418
}
24192419
}

0 commit comments

Comments
 (0)