This commit is contained in:
魏啾 2024-05-27 18:07:43 +08:00
parent fa09c5b303
commit e8ad1ccc8d
1 changed files with 2 additions and 2 deletions

View File

@ -395,7 +395,7 @@
handlemessage() {
this.socketTicket ? this.socketTicket.Close() : null //socket
this.socketTicket = new webSocketUtils(
`${uni.conf.baseUrlwws}/websocket/table/${this.tableCode}/${uni.cache.get('shopUser')}/${uni.cache.get('userInfo').id}`,
`${uni.conf.baseUrlwws}/websocket/table/${uni.cache.get('tableCode')}/${uni.cache.get('shopUser')}/${uni.cache.get('userInfo').id}`,
5000)
},
@ -479,7 +479,7 @@
},
async productqueryProduct() { //list
let res = await this.api.productqueryProduct({
code: this.tableCode,
code:uni.cache.get('tableCode'),
productGroupId: ''
})
if (res.code == 0) {