调整消息推送“
This commit is contained in:
@@ -1938,15 +1938,10 @@ class ApprovalFlowService
|
||||
|
||||
try {
|
||||
foreach ($payload as $uid => $cnt) {
|
||||
\Webman\RedisQueue\Redis::send('ws-msg', [
|
||||
'event' => 'approval.todo.counts',
|
||||
'user_id' => $uid,
|
||||
'num' => $cnt,
|
||||
]);
|
||||
(new \app\common\utils\WsEvents())->todoCounts($uid, $cnt);
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
Log::error('ws todo push error: '.$e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user