购物车reload标识

This commit is contained in:
张松
2025-11-28 15:56:59 +08:00
parent 604d51360d
commit 843239968c

View File

@@ -14,6 +14,8 @@ use extend\workermans\model\Pad;
use extend\workermans\model\RedisInit;
use extend\workermans\model\Shopping;
use support\think\Db;
use support\Log;
class Events
{
@@ -199,6 +201,8 @@ class Events
}
// 店铺组
$shopGroup = Base::get_shopping_save_uid($message['shop_id'], 'all');
Log::info('绑定');
Gateway::joinGroup($client_id, $shopGroup);
// 绑定shopid推送商品更新信息
Gateway::joinGroup($client_id, 'product_update' . $message['shop_id']);