diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php index fdcea7856..b3d44c9ff 100644 --- a/Application/Home/Controller/PromoteController.class.php +++ b/Application/Home/Controller/PromoteController.class.php @@ -315,7 +315,7 @@ class PromoteController extends BaseController )->delete(); $this->ajaxReturn(['status' => 1, 'info' => '移除成功'], "JSON"); } else { - $menuData = M("promote_quick_menu ", "tab_")->count(); + $menuData = M("promote_quick_menu ", "tab_")->where(array("promote_id" => get_pid()))->count(); if ($menuData>=10) { $this->ajaxReturn(['status' => 1, 'info' => '快捷菜单只能有10个'], "JSON"); diff --git a/Application/Home/View/default/Promote/index.html b/Application/Home/View/default/Promote/index.html index bbedcd85d..9650f0bfa 100644 --- a/Application/Home/View/default/Promote/index.html +++ b/Application/Home/View/default/Promote/index.html @@ -167,9 +167,9 @@ - + {$data.game_name} - 安卓、iOS安卓iOS + 安卓、iOS安卓iOS {$data.start_time|date="m-d H:i",###} {$data.server_name}