Commit 4da9e981 authored by huanle's avatar huanle

0526.

parent d6b21125
...@@ -180,7 +180,7 @@ class Index extends Controller ...@@ -180,7 +180,7 @@ class Index extends Controller
$doc = input('post.doc'); $doc = input('post.doc');
$docid = input('post.docid'); $docid = input('post.docid');
$model = new Doclist(); $model = new Doclist();
if (empty($folderid) || empty($title) || empty($doc) ) { if ( empty($title) || empty($doc) || empty($docid)) {
return json(code([], 10001, '参数不足')); return json(code([], 10001, '参数不足'));
} }
$res = $model->editArticle($title, $folderid, $doc, $docid); $res = $model->editArticle($title, $folderid, $doc, $docid);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment