spend_time

master
tping 4 years ago
parent 582cbfe0ff
commit caaa28f961

@ -737,7 +737,8 @@ class BaseController extends Controller {
$data_spned['deduction_amount'] = $param["deduction_amount"];// 抵扣价格
$data_spned['discount_amount'] = $param["discount_amount"];// 折扣价格
$data_spned['pay_time'] = NOW_TIME;
$data_spned['payed_time'] = isset($param["payed_time"])?$param["payed_time"]:0;
$data_spned['spend_time'] = NOW_TIME;
$data_spned['payed_time'] = $data_spned['pay_time'];// isset($param["payed_time"])?$param["payed_time"]:0;
$data_spned['pay_status'] = $param["pay_status"];
$data_spned['pay_game_status'] = 0;
$data_spned['extend'] = $param['extend'];

@ -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"];

Loading…
Cancel
Save