This commit is contained in:
parent
fa09c5b303
commit
e8ad1ccc8d
|
|
@ -395,7 +395,7 @@
|
||||||
handlemessage() {
|
handlemessage() {
|
||||||
this.socketTicket ? this.socketTicket.Close() : null //调用前先判断是否有socket正在进行 先关闭后链接
|
this.socketTicket ? this.socketTicket.Close() : null //调用前先判断是否有socket正在进行 先关闭后链接
|
||||||
this.socketTicket = new webSocketUtils(
|
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)
|
5000)
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
@ -479,7 +479,7 @@
|
||||||
},
|
},
|
||||||
async productqueryProduct() { //list 数据
|
async productqueryProduct() { //list 数据
|
||||||
let res = await this.api.productqueryProduct({
|
let res = await this.api.productqueryProduct({
|
||||||
code: this.tableCode,
|
code:uni.cache.get('tableCode'),
|
||||||
productGroupId: ''
|
productGroupId: ''
|
||||||
})
|
})
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue