From 895cd1e861d9b5cd88b8bb8a0c057c56f8ff5bab Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Thu, 28 Nov 2019 15:32:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/PromoteController.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php index 0335835b6..f505a8857 100644 --- a/Application/Home/Controller/PromoteController.class.php +++ b/Application/Home/Controller/PromoteController.class.php @@ -1935,8 +1935,12 @@ class PromoteController extends BaseController public function shift() { + $loginPromote = $this->getLoginPromote(); + $params = $_POST; + $params['creator_id'] = $loginPromote['id']; + $params['creator_type'] = 1; $promoteService = new PromoteService(); - $result = $promoteService->addShiftTask($_POST); + $result = $promoteService->addShiftTask($params); $this->ajaxReturn($result); }