更新
This commit is contained in:
@@ -5,6 +5,7 @@ declare(strict_types=1);
|
||||
namespace app\command;
|
||||
|
||||
use app\adminapi\logic\qywx\CustomerLogic;
|
||||
use app\common\service\qywx\MediaChannelService;
|
||||
use think\console\Command;
|
||||
use think\console\Input;
|
||||
use think\console\Output;
|
||||
@@ -161,6 +162,7 @@ class QywxBackfillCustomerTags extends Command
|
||||
$output->writeln("空 tags 行数: {$emptyTags} (follow_user 内无任何 tag)");
|
||||
$output->writeln("关系表同步: {$relationSynced} 行");
|
||||
$output->writeln("耗时: {$duration}秒");
|
||||
MediaChannelService::forgetCurrentTagCatalogCache();
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -281,6 +283,7 @@ class QywxBackfillCustomerTags extends Command
|
||||
$output->writeln("关系表 INSERT IGNORE: {$tagRowsInserted}(含可能被忽略的重复行)");
|
||||
$output->writeln("tags JSON 批量 UPDATE: {$jsonUpdated}");
|
||||
$output->writeln("耗时: {$duration}秒");
|
||||
MediaChannelService::forgetCurrentTagCatalogCache();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user