diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php index 08dfda390..ef625fcf8 100644 --- a/Application/Home/Controller/PromoteController.class.php +++ b/Application/Home/Controller/PromoteController.class.php @@ -1893,13 +1893,15 @@ class PromoteController extends BaseController public function shift() { - $this->ajaxReturn([ - 'status' => false, - 'msg'=>'该功能暂时关闭' - ]); - $loginPromote = $this->getLoginPromote(); $params = $_POST; + if (isset($params['type']) && $params['type'] == 2) { + $this->ajaxReturn([ + 'status' => false, + 'msg'=>'该功能暂时关闭' + ]); + } + $params['creator_id'] = $loginPromote['id']; $params['creator_type'] = 1; $promoteService = new PromoteService();