From 562d589aeaaa0bf4b6b4ae66f117402fde819433 Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Mon, 13 Apr 2020 12:20:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/PromoteController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php index c0b46c8d2..d96947b20 100644 --- a/Application/Home/Controller/PromoteController.class.php +++ b/Application/Home/Controller/PromoteController.class.php @@ -271,7 +271,7 @@ class PromoteController extends BaseController $week = $weekArray[date("w")]; $match_rules = M("document_pop_rules") ->field('id,document_route,pop_time') - ->where("(type = 1 and pop_time = {$currentTime}) or (type = 2 and pop_time = {$week})") + ->where("(type = 1 and pop_time = {$currentTime}) or (type = 2 and pop_time = {$week}) or (type = 2 and pop_time = 8)") ->order("sort asc, id desc") ->select(); } else { @@ -2129,7 +2129,7 @@ class PromoteController extends BaseController $gameId = $_POST['game_id']; $promoteId = $_POST['promote_id']; $applyService = new ApplyService(); - $applyService->cancelGame($gameId, $promoteId); + $applyService->offlineGame($gameId, $promoteId); recordPromoteLogs('游戏管理','专服管理下架游戏'); $this->ajaxReturn(['status' => true, 'msg' => '下架成功']); }