|
|
@@ -719,7 +719,7 @@ class Wechat extends ApiController
|
|
|
if ($result['return_code'] == 'SUCCESS' && $result['result_code'] == 'SUCCESS') {
|
|
|
return $this->ApiJson(0,'',$jssdk->sdkConfig($result['prepay_id']));
|
|
|
}
|
|
|
- return $this->ApiJson(-1,'支付异常,请稍后重试...', $result);
|
|
|
+ return $this->ApiJson(-1,isset($result['return_msg'])? $result['return_msg'] : '支付异常,请稍后重试...');
|
|
|
}
|
|
|
|
|
|
private function thirdRefund($channel, $paylog)
|