Commit 6e62f30467a4b7e88b8c1659dcd3a16667698503
1 parent
c71b3b64
上传加loading
Showing
1 changed file
with
2 additions
and
0 deletions
CNLiveBPersonalVerificationModule/Classes/CNBInstitutionInfo/ViewModel/CNBPerAuthViewModel.m
| ... | ... | @@ -64,7 +64,9 @@ |
| 64 | 64 | @"institution":CNLiveStringIsEmpty(institutionStr) ? @"":institutionStr |
| 65 | 65 | }; |
| 66 | 66 | NSString *url = cn_API_Host(@"/Daren/buser/saveInstitution.action"); |
| 67 | + [QMUITips showLoading:@"正在上传数据,请稍后" inView:CNBAppKeyWindow]; | |
| 67 | 68 | [CNLiveNetworking requestNetworkWithMethod:CNLiveRequestMethodPOST URLString:url Param:param CacheType:CNLiveNetworkCacheTypeNetworkOnly CompletionBlock:^(NSURLSessionTask *requestTask, id responseObject, NSError *error) { |
| 69 | + [QMUITips hideAllTipsInView:CNBAppKeyWindow]; | |
| 68 | 70 | if (!error) { |
| 69 | 71 | if (responseObject && [responseObject isKindOfClass:[NSDictionary class]]) { |
| 70 | 72 | NSString *errorCode = [NSString stringWithFormat:@"%@",[responseObject objectForKey:@"errorCode"]]; | ... | ... |