|
|
@@ -265,7 +265,6 @@ class Wechat extends ApiController
|
|
|
}
|
|
|
// 数据检查
|
|
|
$paylog = model('common/OrderPaylog')->getBy(['out_trade_no' => $param['trade_no']]);
|
|
|
- var_dump($paylog);
|
|
|
if (!$paylog){
|
|
|
return $this->ApiJson(-1,'本次交易不存在');
|
|
|
}
|
|
|
@@ -720,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,'支付异常,请稍后重试...');
|
|
|
+ return $this->ApiJson(-1,'支付异常,请稍后重试...', $result);
|
|
|
}
|
|
|
|
|
|
private function thirdRefund($channel, $paylog)
|