处理网络请求token为空的问题
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
- (void)applePayReqWithParams:(NSDictionary *)params
|
||||
needShow:(BOOL)needShow
|
||||
completion:(KBPayCompletion)completion {
|
||||
if (needShow) { [KBHUD show]; }
|
||||
|
||||
// if (needShow) { [KBHUD show]; }
|
||||
[KBHUD showWithStatus:@"Please wait"];
|
||||
[[KBNetworkManager shared] POST:API_VALIDATE_RECEIPT
|
||||
jsonBody:params
|
||||
headers:nil
|
||||
@@ -39,7 +39,9 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if (completion) completion(KBBizCodeSuccess, @"JWS-ok");
|
||||
// if (completion) completion(KBBizCodeSuccess, @"JWS-ok");
|
||||
if (completion) completion(KBBizCodeSuccess, nil);
|
||||
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user