This commit is contained in:
wangjinlei
2023-07-11 09:28:06 +08:00
parent a4c92e437a
commit cf65d492f4
4 changed files with 70 additions and 0 deletions

View File

@@ -1665,6 +1665,7 @@ class Article extends Base
*/
public function addArtRev()
{
die("service stop!");
$data = $this->request->post();
//增加信息到文章审稿表
@@ -2383,6 +2384,21 @@ class Article extends Base
return jsonSuccess([]);
}
/**刷新评分
* @return void
*/
public function refuseScore(){
$data = $this->request->post();
$rule = new Validate([
"article_id"=>'require'
]);
if(!$rule->check($data)){
return jsonError($rule->getError());
}
$this->ai_scor($data['article_id']);
return jsonSuccess([]);
}
/**
* 人工智能打分