From b0b0056c43e99f8dac67077656bdb20db9ac55fd Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 13 Nov 2019 16:44:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/AutoPackController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/AutoPackController.class.php b/Application/Admin/Controller/AutoPackController.class.php index cba755d66..48f286288 100644 --- a/Application/Admin/Controller/AutoPackController.class.php +++ b/Application/Admin/Controller/AutoPackController.class.php @@ -310,7 +310,7 @@ class AutoPackController extends Think $applyIds = array_column($applys, 'id'); - M('apply', 'tab_')->where(['id' => $applyIds])->save(['enable_status' => 3]); + M('apply', 'tab_')->where(['id' => ['in', $applyIds]])->save(['enable_status' => 3]); $gameIds = array_unique(array_column($applys, 'game_id')); $games = M('game', 'tab_')->field(['id', 'game_appid', 'game_name', 'icon', 'sdk_version'])->where(['id' => ['in', $gameIds]])->select();