master
cody 2 months ago
parent b51428ecb2
commit 69a44238a2

@ -16,7 +16,7 @@ class UpdateUserTalentTags extends Command
* *
* @var string * @var string
*/ */
protected $signature = 'update:user-talent-tags {--clean-duplicates : 清理已存在的重复标签}'; protected $signature = 'update:user-talent-tags';
/** /**
* The console command description. * The console command description.
@ -32,11 +32,6 @@ class UpdateUserTalentTags extends Command
*/ */
public function handle() public function handle()
{ {
// 如果指定了清理重复标签选项,先执行清理
if ($this->option('clean-duplicates')) {
$this->cleanDuplicateTags();
}
$this->info('开始读取Excel文件并更新用户人才标签...'); $this->info('开始读取Excel文件并更新用户人才标签...');
// Excel文件路径 // Excel文件路径

Loading…
Cancel
Save