diff --git a/app.js b/app.js index f47d25b..774c58b 100644 --- a/app.js +++ b/app.js @@ -42,6 +42,10 @@ App({ that.goIndex(code, iv, encryptedData, pid) } }) + wx.requestSubscribeMessage({ + tmplIds: ['FY8B3pEGK11WVhnNO6JGDQNnGVDZnXDvS9yAwxB7vRM'], + success (res) { } + }) // wx.getSetting({ // success: setting => { wx.login({ diff --git a/utils/common.js b/utils/common.js index b2ba6f6..bcd2583 100644 --- a/utils/common.js +++ b/utils/common.js @@ -1,7 +1,7 @@ // var HOST_URI = 'http://192.168.0.109:8088'; // var HOST_URI = 'http://192.168.0.104:8088'; - //var HOST_URI = 'https://api.tuleduo.cn'; -var HOST_URI = 'http://127.0.0.1:8088'; +var HOST_URI = 'https://api.tuleduo.cn'; +//var HOST_URI = 'http://127.0.0.1:8088';