refactor: migrate to Tencent Cloud backend
这个提交包含在:
@@ -51,7 +51,7 @@ Page({
|
||||
http.post('/api/v1/device/bind', { device_id: deviceId }).then(function (data) {
|
||||
self.setData({ scanning: false })
|
||||
wx.redirectTo({
|
||||
url: '/pages/bind-success/bind-success?device_id=' + deviceId
|
||||
url: '/pages/ble-connect/ble-connect?device_id=' + encodeURIComponent(deviceId) + '&bind_token=' + encodeURIComponent(data.bind_token || '')
|
||||
})
|
||||
}).catch(function (err) {
|
||||
self.setData({ scanning: false })
|
||||
|
||||
在新工单中引用
屏蔽一个用户