settter
parent
bb575731e7
commit
41b0bc9909
|
@ -109,7 +109,6 @@ class Recharge extends Base
|
||||||
|
|
||||||
if ($message['return_code'] == 'SUCCESS') { // return_code 表示通信状态,不代表支付状态
|
if ($message['return_code'] == 'SUCCESS') { // return_code 表示通信状态,不代表支付状态
|
||||||
if (isset($message['result_code']) && $message['result_code'] == 'SUCCESS') {
|
if (isset($message['result_code']) && $message['result_code'] == 'SUCCESS') {
|
||||||
if (isset($message['trade_state']) && $message['trade_state'] == 'SUCCESS') {
|
|
||||||
$this->log("订单支付成功开始数据操作");
|
$this->log("订单支付成功开始数据操作");
|
||||||
Db::startTrans();
|
Db::startTrans();
|
||||||
try {
|
try {
|
||||||
|
@ -141,7 +140,7 @@ class Recharge extends Base
|
||||||
$this->log(sprintf("[微信支付回调][%s][%s]订单支付成功-修改订单状态失败-Exception info:%s", date('Y-m-d H:i:s'), $message['out_trade_no'], $m), 'info');
|
$this->log(sprintf("[微信支付回调][%s][%s]订单支付成功-修改订单状态失败-Exception info:%s", date('Y-m-d H:i:s'), $message['out_trade_no'], $m), 'info');
|
||||||
return $fail('Order status edit failed.');
|
return $fail('Order status edit failed.');
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $fail('通信失败,请稍后再通知我');
|
return $fail('通信失败,请稍后再通知我');
|
||||||
|
|
Loading…
Reference in New Issue