异常充值处理

master
tping 4 years ago
parent 5b3927474a
commit bf322ccff2

@ -114,6 +114,13 @@ class BaseController extends Controller {
$this->rechargeAwardPoint($d['user_id'],$d['pay_amount']);
// 当天累计充值
$this->payTodayTotal($d['pay_amount'], $d['pay_way']);
$data_save['pay_status'] = 1;
$data_save['order_number'] = $data['trade_no'];
$data_save['payed_time'] = time();
$map_s['pay_order_number'] = $data['out_trade_no'];
$r = $spend->where($map_s)->save($data_save);
return false;
}

Loading…
Cancel
Save