上菜状态推送

This commit is contained in:
张松
2025-12-02 15:38:40 +08:00
parent 7fde20f93c
commit e896546b56

View File

@@ -4,6 +4,7 @@ require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../support/bootstrap.php';
use ba\Random;
use extend\workermans\model\Base;
use PhpAmqpLib\Connection\AMQPStreamConnection;
use support\think\Db;
use support\Log;
@@ -42,7 +43,7 @@ use support\Redis;
$is_log = false;
$curl_error = '';
$rand = 'product_update' . Random::build();
$send_id = 'cart_update' . $datInfo['shopId'] . '_all' ;
$send_id = Base::get_shopping_save_uid($datInfo['shopId'], 'all');
$snd_data =[
'msg' => '购物车刷新',
'operate_type' => 'reload',