@@ -1,5 +1,5 @@
/* wx.request */
-const BASE_API = 'https://itt-worker.chl6zk.store/api'
+const BASE_API = 'https://worker.itthealth.com/api' // 'https://itt-worker.chl6zk.store/api'
const BASE_VERSION = '/v1'
import itt from '../utils/util'
const app = getApp()
@@ -106,7 +106,7 @@ Page({
showCancel: false,
success (pres) {
if (pres.confirm) {
- wx.navigateTo({
+ wx.redirectTo({
url: '/pages/workbench/workbench?form=peimission&deviceName=' + scanres.data.deviceName + '&deviceCode=' + scanres.data.deviceCode,
success () {
that.setData({