diff --git a/pages/product/index.vue b/pages/product/index.vue index eab1112..1e676a3 100644 --- a/pages/product/index.vue +++ b/pages/product/index.vue @@ -1607,9 +1607,18 @@ type: 'shopping', operate_type: 'init', table_code: uni.cache.get('tableCode'), - shop_id: uni.cache.get('shopId') + shop_id: uni.cache.get('shopId'), + time_dis_info: cartStore.limitTimeDiscount }; - + + useSocket.sendMessage({ + type: 'shopping', + operate_type: 'time_discount_save', + table_code: uni.cache.get('tableCode'), + shop_id: uni.cache.get('shopId'), + operate_type: 'time_discount_save', + data: cartStore.limitTimeDiscount + }); useSocket.sendMessage(data); }