diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php index 23b5eb792..bcb5cb754 100644 --- a/Application/Admin/Controller/CompanyStatementSetController.class.php +++ b/Application/Admin/Controller/CompanyStatementSetController.class.php @@ -935,6 +935,7 @@ class CompanyStatementSetController extends Controller { $v['reward'] = 0; $v['platform_amount'] = 0; if(!isset($v['list'])){continue;} + $company_belong = $pc[$v['id']]['company_belong']; //服务器费用 if ($type < 2) { if ($v['has_server_fee'] == 1 && $v['server_fee'] > 0) { diff --git a/Application/Payment/Common/extend.php b/Application/Payment/Common/extend.php index 2e4b75364..1cb8c0d56 100644 --- a/Application/Payment/Common/extend.php +++ b/Application/Payment/Common/extend.php @@ -2162,7 +2162,7 @@ function getGamePromoteCompanyRadio($company_id,$relation_game_id,$endtime,$amou if(empty($cgr_res)){ //模板搜索 //获取公司类型 - if($company_belong === false){ + if($company_belong == false){ $company_belong = M("PromoteCompany","tab_")->field("company_belong")->where("id='{$company_id}'")->find()['company_belong']; } $mwhere = "company_belong='{$company_belong}' and relation_game_id='{$relation_game_id}'";