diff --git a/Application/Callback/Controller/BaseController.class.php b/Application/Callback/Controller/BaseController.class.php index 08d8febf..fc892de3 100644 --- a/Application/Callback/Controller/BaseController.class.php +++ b/Application/Callback/Controller/BaseController.class.php @@ -821,6 +821,9 @@ class BaseController extends Controller $data_spned['pay_way'] = $param["pay_way"]; $data_spned['market_admin_id'] = $this->getMarketAdminId($promote); $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){ $discount = $this->get_discount($param['game_id'],$user_entity['promote_id'], $param["game_id"]); $data_spned['pay_amount'] = $param["price"] * $discount['discount']/10;//实付金额 diff --git a/Application/Sdk/Controller/BaseController.class.php b/Application/Sdk/Controller/BaseController.class.php index ff55eb43..70a91bc3 100644 --- a/Application/Sdk/Controller/BaseController.class.php +++ b/Application/Sdk/Controller/BaseController.class.php @@ -558,7 +558,10 @@ class BaseController extends RestController // $data_spned['pay_time'] = NOW_TIME; $data_spned['pay_status'] = $param["pay_status"]; $data_spned['market_admin_id'] = $this->getMarketAdminId($promote); - $data_spned['is_check'] = $productType == 1 ? 2 : $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 ($param["pay_status"] == 1) $data_spned['payed_time'] = time(); else diff --git a/ThinkPHP/Library/Think/Pay.class.php b/ThinkPHP/Library/Think/Pay.class.php index b0090670..65168b18 100644 --- a/ThinkPHP/Library/Think/Pay.class.php +++ b/ThinkPHP/Library/Think/Pay.class.php @@ -398,6 +398,9 @@ class Pay $spend_data['sdk_version'] = $vo->getSdkVersion(); $spend_data['market_admin_id'] = $this->getMarketAdminId($promote); $spend_data['is_check'] = $this->getIsCheckValue($promote, $vo->getGameId()); + if ($spend_data['pay_way'] == -1 && in_array($spend_data['game_id'], [4, 5])) { + $spend_data['is_check'] = 2; + } /* if ($isKBCPartner) { $spend_data['partner_type'] = 1; } */