作者 Django

1

@@ -620,7 +620,7 @@ class Article extends Api @@ -620,7 +620,7 @@ class Article extends Api
620 620
621 $showType = $this->request->param('show_type', 1, 'int'); 621 $showType = $this->request->param('show_type', 1, 'int');
622 622
623 - $desContent = $this->request->param('des_content', '', 'string'); 623 + $desContent = $_POST['des_content'];
624 if(!$desContent) { 624 if(!$desContent) {
625 $this->error('您的文章内容不能为空'); 625 $this->error('您的文章内容不能为空');
626 } 626 }