Commit c7cf3ee0 authored by zhaoyanping's avatar zhaoyanping

Merge branch 'refs/heads/master' into test

parents dd2a8fe9 cdb495b6
......@@ -97,24 +97,24 @@
console.log('设备ID:',deviceId)
const userId = uni.getStorageSync('userId')
console.log('用户ID:',userId)
addDeviceBindApi({
userId: userId,
deviceId: deviceId,
clientType: platform,
}).then((res) => {
console.log("设备绑定结果",res)
if (res.code == 200) {
// uni.showToast({
// title: "设备绑定成功",
// icon: 'none'
// })
} else {
uni.showToast({
title: res.message,
icon: 'none'
})
}
})
// addDeviceBindApi({
// userId: userId,
// deviceId: deviceId,
// clientType: platform,
// }).then((res) => {
// console.log("设备绑定结果",res)
// if (res.code == 200) {
// // uni.showToast({
// // title: "设备绑定成功",
// // icon: 'none'
// // })
// } else {
// uni.showToast({
// title: res.message,
// icon: 'none'
// })
// }
// })
},
changeTab(item) {
this.active = item.code;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment