|
|
@ -821,6 +821,9 @@ class BaseController extends Controller
|
|
|
|
$data_spned['pay_way'] = $param["pay_way"];
|
|
|
|
$data_spned['pay_way'] = $param["pay_way"];
|
|
|
|
$data_spned['market_admin_id'] = $this->getMarketAdminId($promote);
|
|
|
|
$data_spned['market_admin_id'] = $this->getMarketAdminId($promote);
|
|
|
|
$data_spned['is_check'] = $this->getIsCheckValue($promote, $param["game_id"]);
|
|
|
|
$data_spned['is_check'] = $this->getIsCheckValue($promote, $param["game_id"]);
|
|
|
|
|
|
|
|
if ($data_spned['pay_way'] == -1 && in_array($data_spned['game_id'], [4, 5])) {
|
|
|
|
|
|
|
|
$data_spned['is_check'] = 2;
|
|
|
|
|
|
|
|
}
|
|
|
|
if($data_spned['pay_way'] != 7){
|
|
|
|
if($data_spned['pay_way'] != 7){
|
|
|
|
$discount = $this->get_discount($param['game_id'],$user_entity['promote_id'], $param["game_id"]);
|
|
|
|
$discount = $this->get_discount($param['game_id'],$user_entity['promote_id'], $param["game_id"]);
|
|
|
|
$data_spned['pay_amount'] = $param["price"] * $discount['discount']/10;//实付金额
|
|
|
|
$data_spned['pay_amount'] = $param["price"] * $discount['discount']/10;//实付金额
|
|
|
|