From ef76ed66e6986955e3397631c08e3a9ad2863a45 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Mon, 23 Mar 2020 16:34:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/GameController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Application/Home/Controller/GameController.class.php b/Application/Home/Controller/GameController.class.php index bc69f9338..d837ba1e5 100644 --- a/Application/Home/Controller/GameController.class.php +++ b/Application/Home/Controller/GameController.class.php @@ -160,6 +160,7 @@ class GameController extends BaseController $data['promote_account'] = $promote['account']; $data['apply_time'] = NOW_TIME; $data['offline_status'] = 0; + $data['enable_status'] = 2; $status = false; if (!$apply) { @@ -218,6 +219,7 @@ class GameController extends BaseController 'promote_account' => $loginPromote['account'], 'apply_time' => NOW_TIME, 'offline_status' => 0, + 'enable_status' => 2, 'sdk_version' => $game['sdk_version'], 'game_id' => $game['id'], 'game_name' => $game['game_name'], @@ -236,6 +238,7 @@ class GameController extends BaseController $data['promote_account'] = $loginPromote['account']; $data['apply_time'] = NOW_TIME; $data['offline_status'] = 0; + $data['enable_status'] = 2; M('apply', 'tab_')->where(['game_id' => $gameId, 'promote_id' => ['in', $appliedPromoteIds]])->save($data); }