1
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user