This commit is contained in:
Your Name
2026-08-10 17:29:05 +08:00
parent 2199887c07
commit 9add23e019
129 changed files with 34157 additions and 59 deletions
@@ -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;
}