This commit is contained in:
wangjinlei
2024-01-11 11:44:19 +08:00
parent 98c6e56d7f
commit f99cd7c9a8
5 changed files with 14 additions and 11 deletions

View File

@@ -1000,7 +1000,7 @@ class Article extends Base
$h_check = false;
foreach ($authors as $v) {
$cache_report = $this->user_obj->where('email', $v['email'])->find();
if ($cache_report == null || $article_info['state'] != 0 || $cache_report['google_time'] != 0 || $cache_report['google_index'] != 0 || $data['state'] == 3) {
if ($cache_report == null || $article_info['state'] != 0 || $cache_report['google_time'] != 0 ||$cache_report['g_author']!=""|| $cache_report['google_index'] != 0 || $data['state'] == 3) {
$h_check = true;
break;
}
@@ -2466,7 +2466,7 @@ class Article extends Base
//图表
$b_fen = 0;
$p_num = 0;
$url = "http://ts.tmrjournals.com/api/typeset/readPic";
$url = $this->ts_base_url."api/typeset/readPic";
$program['fileRoute'] = "https://submission.tmrjournals.com/public/" . $files[0]['file_url'];
$res = object_to_array(json_decode(myPost($url, $program)));
$wp = isset($res['data']['pic']) ? $res['data']['pic'] : 0;