File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Coding_iOS/Controllers/MeSetting Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -218,15 +218,15 @@ - (void)doneBtnClicked:(id)sender{
218
218
__weak typeof (self) weakSelf = self;
219
219
[[CodingNetAPIClient sharedJsonClient ] requestJsonDataWithPath: @" api/account/phone/change" withParams: params withMethodType: Post andBlock: ^(id data, NSError *error) {
220
220
if (data) {
221
- [weakSelf.navigationController popViewControllerAnimated: YES ];
222
221
if (![Login curLoginUser ].is_phone_validated .boolValue ) {// 之前没有绑定过手机号的,奖励码币
223
- [Login curLoginUser ].is_phone_validated = @(YES );
224
- [Login curLoginUser ].phone = weakSelf.phone ;
225
- [Login curLoginUser ].phone_country_code = weakSelf.phone_country_code ;
226
222
[RewardTipManager showTipWithTitle: @" 成功完成手机验证 !" rewardPoint: @" 0.1 MB" ];
227
223
}else {
228
224
[NSObject showHudTipStr: @" 手机号码绑定成功" ];
229
225
}
226
+ [Login curLoginUser ].is_phone_validated = @(YES );
227
+ [Login curLoginUser ].phone = weakSelf.phone ;
228
+ [Login curLoginUser ].phone_country_code = weakSelf.phone_country_code ;
229
+ [weakSelf.navigationController popViewControllerAnimated: YES ];
230
230
}
231
231
}];
232
232
}
You can’t perform that action at this time.
0 commit comments