From 9f8469f5990cf2922090418fd0421d1a66f9be9e Mon Sep 17 00:00:00 2001 From: "1913812@qq.com" <1913812q> Date: Tue, 5 Jul 2022 21:58:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E7=9A=84=E6=9D=83=E9=99=90=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 4 ++++ utils/common.js | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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';