Commit 80d57ab3 by houweibin

1,small fix

parent e0173bd6
......@@ -649,6 +649,11 @@
//微信支付
-(void)requestWeChatPay{
if (![WXApi isWXAppInstalled]) {
NSLog(@"WeChat App is not installed!");
[self showToast:@"您还没有安装微信"];
return;
}
NSDictionary *parameters = [KWMPayUtil wechatPayParameters:self.checkout];
__weak KWMBeforePayVC *weakSelf = self;
void(^failure)(NSURLSessionDataTask *,NSError *) = ^(NSURLSessionDataTask *task,NSError *error){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment