This commit is contained in:
wangjinlei
2022-11-29 09:03:25 +08:00
parent 9f27e8e054
commit 3bfc55519b
2 changed files with 98 additions and 35 deletions

View File

@@ -602,6 +602,8 @@ class Article extends Controller {
if(!$rule->check($data)){
return jsonError($rule->getError());
}
$this->article_obj->where('article_id',$data['article_id'])->update(['sort'=>$data['sort']]);
return jsonSuccess([]);
}
/**