|
|
|
@ -1893,13 +1893,15 @@ class PromoteController extends BaseController
|
|
|
|
|
|
|
|
|
|
public function shift()
|
|
|
|
|
{
|
|
|
|
|
$loginPromote = $this->getLoginPromote();
|
|
|
|
|
$params = $_POST;
|
|
|
|
|
if (isset($params['type']) && $params['type'] == 2) {
|
|
|
|
|
$this->ajaxReturn([
|
|
|
|
|
'status' => false,
|
|
|
|
|
'msg'=>'该功能暂时关闭'
|
|
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$loginPromote = $this->getLoginPromote();
|
|
|
|
|
$params = $_POST;
|
|
|
|
|
$params['creator_id'] = $loginPromote['id'];
|
|
|
|
|
$params['creator_type'] = 1;
|
|
|
|
|
$promoteService = new PromoteService();
|
|
|
|
|