From 6efa26ecfda42cbd67d41368fd2423665c193bcd Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Mon, 2 Nov 2020 16:54:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E5=9B=A2=E7=89=B9=E6=AE=8A=E6=AF=94?= =?UTF-8?q?=E4=BE=8B=E8=87=AA=E5=8A=A8=E5=AE=A1=E6=A0=B8=E9=80=9A=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/CompanyGameRatioController.class.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Application/Admin/Controller/CompanyGameRatioController.class.php b/Application/Admin/Controller/CompanyGameRatioController.class.php index 17fc868d0..04ddd89c5 100644 --- a/Application/Admin/Controller/CompanyGameRatioController.class.php +++ b/Application/Admin/Controller/CompanyGameRatioController.class.php @@ -602,6 +602,17 @@ class CompanyGameRatioController extends AdminController $save['verify_log']=json_encode(["create_user"=>$this->admininfo["username"],"create_time"=>date("Y-m-d H:i:s")]); //获取旧比例 $this->getOldRatio($save); + + $promote_data = M("promote_company","tab_")->where(['id'=>$save['company_id']])->find(); + + if ($promote_data['company_belong'] == '0') { + $save['verify_log'] = json_decode($save['verify_log'],true); + $save['verify_log']['market_user']="AUTO"; + $save['verify_log']['market_time']=date("Y-m-d H:i:s"); + $save['verify_log'] = json_encode($save['verify_log']); + $save['status']=1; + } + //判断已有未审核 $where = [ "relation_game_id"=>$save['relation_game_id'],