自动问候功能提交
This commit is contained in:
@@ -452,7 +452,7 @@ class ContentController extends BaseController
|
||||
$content = $this->request->param('content','');
|
||||
$materialId = $this->request->param('materialId','');
|
||||
$status = $this->request->param('status', 0);
|
||||
$sort = $this->request->param('sort', 50);
|
||||
$level = $this->request->param('level', 50);
|
||||
$userId = $this->getUserInfo('id');
|
||||
$companyId = $this->getUserInfo('companyId');
|
||||
|
||||
@@ -472,7 +472,7 @@ class ContentController extends BaseController
|
||||
$query->content = !empty($content) ? json_encode($content,256) : json_encode([]);;
|
||||
$query->materialId = $materialId;
|
||||
$query->status = $status;
|
||||
$query->sort = $sort;
|
||||
$query->level = $level;
|
||||
$query->userId = $userId;
|
||||
$query->companyId = $companyId;
|
||||
$query->createTime = time();
|
||||
@@ -555,7 +555,7 @@ class ContentController extends BaseController
|
||||
$content = $this->request->param('content','');
|
||||
$materialId = $this->request->param('materialId','');
|
||||
$status = $this->request->param('status', 0);
|
||||
$sort = $this->request->param('sort', 50);
|
||||
$level = $this->request->param('level', 50);
|
||||
$userId = $this->getUserInfo('id');
|
||||
$companyId = $this->getUserInfo('companyId');
|
||||
|
||||
@@ -578,7 +578,7 @@ class ContentController extends BaseController
|
||||
$query->content = !empty($content) ? json_encode($content,256) : json_encode([]);;
|
||||
$query->materialId = $materialId;
|
||||
$query->status = $status;
|
||||
$query->sort = $sort;
|
||||
$query->level = $level;
|
||||
$query->save();
|
||||
Db::commit();
|
||||
return ResponseHelper::success(' ','修改成功');
|
||||
|
||||
Reference in New Issue
Block a user