|
@@ -36,7 +36,7 @@ class RefillCallBack implements refill\IRefillCallBack
|
|
|
//充值状态:1=订单正在处理中,2=订单成功,3=订单失败,4=订单状态异常或未知
|
|
|
$status = intval($params['State']);
|
|
|
if ($status === 2) {
|
|
|
- Model('refill_order')->edit($order_id, ['ch_trade_no' => $ch_trade_no,'official_sn' => $official_sn]);
|
|
|
+ Model('refill_order')->edit($order_id, ['ch_trade_no' => $ch_trade_no, 'official_sn' => $official_sn]);
|
|
|
return [$order_id, true, false, true, $official_sn];
|
|
|
}
|
|
|
elseif ($status === 3) {
|