|
|
|
@ -533,13 +533,15 @@ class BaseController extends RestController{
|
|
|
|
|
$data_spned['cost'] = $param["price"];//原价
|
|
|
|
|
$data_spned['deduction_amount'] = $param["deduction_amount"];// 抵扣价格
|
|
|
|
|
$data_spned['discount_amount'] = $param["discount_amount"];// 折扣价格
|
|
|
|
|
$data_spned['pay_time'] = NOW_TIME;
|
|
|
|
|
$data_spned['spend_time'] = NOW_TIME;
|
|
|
|
|
// $data_spned['pay_time'] = NOW_TIME;
|
|
|
|
|
$data_spned['pay_status'] = $param["pay_status"];
|
|
|
|
|
$data_spned['market_admin_id'] = $this->getMarketAdminId($user_entity["promote_id"]);
|
|
|
|
|
if ($param["pay_status"] == 1)
|
|
|
|
|
$data_spned['payed_time'] = time();
|
|
|
|
|
else
|
|
|
|
|
$data_spned['payed_time'] = 0;
|
|
|
|
|
$data_spned['pay_time'] = $data_spned['payed_time'];
|
|
|
|
|
$data_spned['pay_game_status'] = 0;
|
|
|
|
|
$data_spned['extend'] = $param['extend'];
|
|
|
|
|
$data_spned['pay_way'] = $param["pay_way"];
|
|
|
|
|