This commit is contained in:
gyq 2025-03-11 09:41:53 +08:00
parent 3df0cce9ec
commit 1e66b2ad1f
2 changed files with 12 additions and 15 deletions

View File

@ -2,13 +2,13 @@
ENV = test
#测试ws
# VITE_API_WSS = 'wss://wxcashiertest.sxczgkj.cn/client'
VITE_API_WSS = 'wss://sockets.sxczgkj.com/wss'
# 正式ws
VITE_API_WSS = 'wss://cashier.sxczgkj.cn/client'
# VITE_API_WSS = 'wss://cashier.sxczgkj.cn/client'
# 正式 php
VITE_API_PHP_URL = 'https://czgdoumei.sxczgkj.com/index.php/api'
VITE_API_PHP_URL = 'https://newblockwlx.sxczgkj.cn/index.php/api'
# 测试 php 开票
# VITE_API_KP_URL = 'http://192.168.1.13:8888/api'
@ -17,13 +17,10 @@ VITE_API_PHP_URL = 'https://czgdoumei.sxczgkj.com/index.php/api'
VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api'
# 测试
VITE_API_URL = 'https://cashier-client.sxczgkj.cn/cashier-client'
VITE_API_URL = 'https://tapi.cashier.sxczgkj.cn'
# 预发布
# VITE_API_URL = 'https://pre-cashierclient.sxczgkj.cn/cashier-client'
# 张松本地
# VITE_API_URL = 'https://36z1017t45.goho.co/cashier-client'
# 正式
# VITE_API_URL = 'https://cashierclient.sxczgkj.cn/cashier-client'

View File

@ -13,16 +13,16 @@ export const useGoods = defineStore("goods", {
showVipPrice: false,
allSelected: 0, // 是否整单打包
vipUserInfo: {}, // 会员信息
tableInfo: {
name: "A1",
num: 4,
tableCode: "66666666",
}, // 台桌信息
// tableInfo: {
// name: "",
// num: "",
// tableCode: "",
// name: "A1",
// num: 4,
// tableCode: "66666666",
// }, // 台桌信息
tableInfo: {
name: "",
num: "",
tableCode: "",
}, // 台桌信息
cartActiveIndex: 0, // 购物车激活索引,
isCartInit: false,
cartList: [], // 购物车列表