master
xingyy 9 months ago
parent 9b2bcbaeba
commit 95aa4241c0

@ -150,15 +150,18 @@ const exchange=async (item)=>{
const arrayBuffer = new Uint8Array(res1)
imageSrc.value = "data:image/png;base64," + uni.arrayBufferToBase64(arrayBuffer)
showWin4.value=true
/* const ws = uni.connectSocket({
url: `ws://172.16.100.93:9052/api/smart/appointment/subscribe/msg?AppointmentUid=${item.appointmentUid}`, // WebSocket
uni.connectSocket({
url: `ws://172.16.100.93:9052/api/smart/appointment/subscribe/msg?AppointmentUid=${item.appointmentUid}`,
success: function() {
console.log('WebSocket连接已创建成功');
}
});
uni.onSocketOpen(function (res) {
console.log(res,'onSocketOpen')
});
uni.onSocketMessage(function (res) {
console.log('WebSocket接收到消息', res.data);
});*/
});
}
const goViewVenues = (item) => {
uni.setStorageSync('ticket',item)

Loading…
Cancel
Save