修改自动推广的相关任务

This commit is contained in:
wangjinlei
2026-05-13 12:26:28 +08:00
parent c36eba77b1
commit fa878334cd
7 changed files with 289 additions and 29 deletions

View File

@@ -10,6 +10,7 @@ use think\Db;
use think\Queue;
use think\Validate;
use think\log;
use app\common\ArticleSymbolNormalizer;
/**
* @title 公共管理相关
@@ -1380,6 +1381,10 @@ class Production extends Base
return $html;
}
public function testsym(){
ArticleSymbolNormalizer::normalize("");
}
public function doTypeSettingNew()
{
@@ -1399,7 +1404,7 @@ class Production extends Base
$editor_info = $this->user_obj->where('user_id', $journal_info['editor_id'])->find();
$typesetInfo = [];
$typesetInfo['info_title'] = $p_info['title'];
$typesetInfo['info_title'] = ArticleSymbolNormalizer::normalize($p_info['title']);
$typesetInfo['info_type'] = $p_info['type'];
$typesetInfo['doi'] = $p_info['doi'];
$typesetInfo['topic'] = '';