|
@@ -174,6 +174,8 @@ class BestKnowledge extends Controller
|
|
|
}elseif ($this->request->isPost()){
|
|
|
$vo['imgs'] = implode(',',explode('|',$vo['imgs']));
|
|
|
$vo['audit'] =2;
|
|
|
+ isset($vo['id']) ? DataBestKnowledge::mk()->where('id',$vo['id'])->update($vo) : DataBestKnowledge::mk()->insert($vo);
|
|
|
+ $this->success('数据更新成功');
|
|
|
}
|
|
|
}
|
|
|
/**
|