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