From 007ca52afa60d6358378f015b5e51d874510e528 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 3 Aug 2020 09:33:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E6=AF=94=E4=BE=8B=E8=8E=B7=E5=8F=96=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/CompanyStatementSetController.class.php | 1 + 1 file changed, 1 insertion(+) 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) { From 553ee7a752b62ab089ffa0c0a22c22a08c839656 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 3 Aug 2020 09:40:03 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Payment/Common/extend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}'";