main bug 修复

This commit is contained in:
wangjinlei
2025-06-03 17:37:43 +08:00
parent 09946318f4
commit 5d642f621c
2 changed files with 25 additions and 18 deletions

View File

@@ -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(){