代码提交
This commit is contained in:
@@ -38,6 +38,7 @@ class WechatChatroomCommand extends Command
|
||||
|
||||
// 检查队列是否已经在运行
|
||||
$queueLockKey = "queue_lock:{$this->queueName}:{$isDel}";
|
||||
Cache::rm($queueLockKey);
|
||||
if (Cache::get($queueLockKey)) {
|
||||
$output->writeln("队列 {$this->queueName} 已经在运行中,删除状态:{$isDel},跳过执行");
|
||||
Log::warning("队列 {$this->queueName} 已经在运行中,删除状态:{$isDel},跳过执行");
|
||||
|
||||
@@ -38,6 +38,7 @@ class WechatFriendCommand extends Command
|
||||
|
||||
// 检查队列是否已经在运行
|
||||
$queueLockKey = "queue_lock:{$this->queueName}:{$isDel}";
|
||||
Cache::rm($queueLockKey);
|
||||
if (Cache::get($queueLockKey)) {
|
||||
$output->writeln("队列 {$this->queueName} 已经在运行中,删除状态:{$isDel},跳过执行");
|
||||
Log::warning("队列 {$this->queueName} 已经在运行中,删除状态:{$isDel},跳过执行");
|
||||
|
||||
@@ -458,7 +458,7 @@ class PlanSceneV1Controller extends BaseController
|
||||
$total = $query->count();
|
||||
$list = $query->page($page, $pageSize)->order('id', 'desc')->select();
|
||||
foreach ($list as &$item) {
|
||||
unset($item['fail_reason'],$item['processed_wechat_ids'],$item['task_id']);
|
||||
unset($item['processed_wechat_ids'],$item['task_id']);
|
||||
$userinfo = Db::table('s2_wechat_friend')
|
||||
->field('alias,wechatId,nickname,avatar')
|
||||
->where('alias|wechatId|phone|conRemark','like','%'.$item['phone'].'%')
|
||||
|
||||
Reference in New Issue
Block a user