|
|
@ -1935,8 +1935,12 @@ class PromoteController extends BaseController
|
|
|
|
|
|
|
|
|
|
|
|
public function shift()
|
|
|
|
public function shift()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
$loginPromote = $this->getLoginPromote();
|
|
|
|
|
|
|
|
$params = $_POST;
|
|
|
|
|
|
|
|
$params['creator_id'] = $loginPromote['id'];
|
|
|
|
|
|
|
|
$params['creator_type'] = 1;
|
|
|
|
$promoteService = new PromoteService();
|
|
|
|
$promoteService = new PromoteService();
|
|
|
|
$result = $promoteService->addShiftTask($_POST);
|
|
|
|
$result = $promoteService->addShiftTask($params);
|
|
|
|
$this->ajaxReturn($result);
|
|
|
|
$this->ajaxReturn($result);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|