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); }