From a8f2c71bc0e42539098150b238456c6740227974 Mon Sep 17 00:00:00 2001 From: wangjinlei <751475802@qq.com> Date: Thu, 22 Dec 2022 18:03:23 +0800 Subject: [PATCH] 1 --- application/api/controller/Article.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/api/controller/Article.php b/application/api/controller/Article.php index 6466c54..dfdb3eb 100644 --- a/application/api/controller/Article.php +++ b/application/api/controller/Article.php @@ -1730,7 +1730,6 @@ class Article extends Controller { } - /** * 人工智能打分 */ @@ -1807,7 +1806,7 @@ class Article extends Controller { } //单位 $dw_fen = 0; - $report_author = $this->article_author_obj->where('email',$user_info['email'])->find(); + $report_author = $this->article_author_obj->where('article_id',$article_id)->where('email',$user_info['email'])->find(); if($report_author){ $ca_res = $this->company_top_obj->where('title',$report_author['company'])->find(); if($ca_res){