main bug 修复
This commit is contained in:
@@ -2316,17 +2316,17 @@ class Article extends Base
|
||||
}
|
||||
|
||||
|
||||
public function testArticleImageEx(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
"article_id"=>"require"
|
||||
]);
|
||||
if(!$rule->check($data)){
|
||||
return jsonError($rule->getError());
|
||||
}
|
||||
$this->addArticleMainEx($data['article_id']);
|
||||
return jsonSuccess([]);
|
||||
}
|
||||
// public function testArticleImageEx(){
|
||||
// $data = $this->request->post();
|
||||
// $rule = new Validate([
|
||||
// "article_id"=>"require"
|
||||
// ]);
|
||||
// if(!$rule->check($data)){
|
||||
// return jsonError($rule->getError());
|
||||
// }
|
||||
// $this->addArticleMainEx($data['article_id']);
|
||||
// return jsonSuccess([]);
|
||||
// }
|
||||
|
||||
|
||||
public function getArticleImages(){
|
||||
|
||||
Reference in New Issue
Block a user