|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|