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); }