|
...
|
...
|
@@ -139,6 +139,9 @@ class KeywordVideoController extends BaseController |
|
|
|
'id.required' => '主键标识不为空',
|
|
|
|
]);
|
|
|
|
$keywordModel = new KeywordVideoTask();
|
|
|
|
if(isset($this->param['template_data']) && !empty($this->param['template_data'])){
|
|
|
|
$this->param['template_data'] = json_encode($this->param['template_data'],true);
|
|
|
|
}
|
|
|
|
$rs = $keywordModel->edit($this->param,['id'=>$this->param['id']]);
|
|
|
|
if($rs === false){
|
|
|
|
$this->response('编辑失败',Code::SYSTEM_ERROR);
|
...
|
...
|
|