From 9c203d6e719ce71a17c580a0500408c99997c499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=B3=E7=90=B3=E7=BA=A2?= <1921957171@qq.com> Date: Wed, 31 Jul 2024 14:49:05 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E7=9A=84=E6=8E=A5=E5=8F=A3=EF=BC=88=E6=B6=88=E6=81=AF=E8=AE=A2?= =?UTF-8?q?=E9=98=85=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- manifest.json | 4 ++-- sheep/platform/provider/wechat/miniProgram.js | 14 +++++++------- sheep/store/app.js | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.env b/.env index adcc17dd..d27b4ff2 100644 --- a/.env +++ b/.env @@ -5,7 +5,7 @@ SHOPRO_VERSION = v1.8.3 SHOPRO_BASE_URL = http://api-dashboard.yudao.iocoder.cn # 后端接口 - 测试环境(通过 process.env.NODE_ENV = development) -SHOPRO_DEV_BASE_URL = http://127.0.0.1:48080 +SHOPRO_DEV_BASE_URL = http://100.98.111.36:48080 ### SHOPRO_DEV_BASE_URL = http://yunai.natapp1.cc # 后端接口前缀(一般不建议调整) diff --git a/manifest.json b/manifest.json index 66674c1c..cbf61821 100644 --- a/manifest.json +++ b/manifest.json @@ -184,7 +184,7 @@ "versionCode": 100 }, "mp-weixin": { - "appid": "wx63c280fe3248a3e7", + "appid": "wx9a0a5b259d852380", "setting": { "urlCheck": false, "minified": true, @@ -236,4 +236,4 @@ "_spaceID": "192b4892-5452-4e1d-9f09-eee1ece40639", "locale": "zh-Hans", "fallbackLocale": "zh-Hans" -} +} \ No newline at end of file diff --git a/sheep/platform/provider/wechat/miniProgram.js b/sheep/platform/provider/wechat/miniProgram.js index 29473786..8134588c 100644 --- a/sheep/platform/provider/wechat/miniProgram.js +++ b/sheep/platform/provider/wechat/miniProgram.js @@ -10,7 +10,7 @@ let subscribeEventList = []; // 加载微信小程序 function load() { checkUpdate(); - getSubscribeTemplate(); + // getSubscribeTemplate(); } // 微信小程序静默授权登陆 @@ -163,12 +163,12 @@ const checkUpdate = async (silence = true) => { }; // 获取订阅消息模板 -async function getSubscribeTemplate() { - const { code, data } = await third.wechat.getSubscribeTemplateList(); - if (code === 0) { - subscribeEventList = data; - } -} +// async function getSubscribeTemplate() { +// const { code, data } = await third.wechat.getSubscribeTemplateList(); +// if (code === 0) { +// subscribeEventList = data; +// } +// } // 订阅消息 function subscribeMessage(event) { diff --git a/sheep/store/app.js b/sheep/store/app.js index 55d09978..66a547e5 100644 --- a/sheep/store/app.js +++ b/sheep/store/app.js @@ -72,7 +72,7 @@ const app = defineStore({ this.platform = { share: { methods: ["poster", "link"], - linkAddress: "http://127.0.0.1:3000", // TODO 芋艿:可以考虑改到 .env 那 + linkAddress: "http://100.98.111.36:3000", // TODO 芋艿:可以考虑改到 .env 那 posterInfo: { "user_bg": "/static/img/shop/config/user-poster-bg.png", "goods_bg": "/static/img/shop/config/goods-poster-bg.png", From 33b62d8424d52e8f91fee34718507df344fd9664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=97=B4=E8=B4=A7?= <252048765@qq.com> Date: Fri, 2 Aug 2024 10:30:16 +0800 Subject: [PATCH 2/2] add:init --- .env | 2 +- sheep/store/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index d27b4ff2..5c1de6fd 100644 --- a/.env +++ b/.env @@ -5,7 +5,7 @@ SHOPRO_VERSION = v1.8.3 SHOPRO_BASE_URL = http://api-dashboard.yudao.iocoder.cn # 后端接口 - 测试环境(通过 process.env.NODE_ENV = development) -SHOPRO_DEV_BASE_URL = http://100.98.111.36:48080 +SHOPRO_DEV_BASE_URL = http://192.168.10.68:48080 ### SHOPRO_DEV_BASE_URL = http://yunai.natapp1.cc # 后端接口前缀(一般不建议调整) diff --git a/sheep/store/app.js b/sheep/store/app.js index 66a547e5..2d4b641e 100644 --- a/sheep/store/app.js +++ b/sheep/store/app.js @@ -72,7 +72,7 @@ const app = defineStore({ this.platform = { share: { methods: ["poster", "link"], - linkAddress: "http://100.98.111.36:3000", // TODO 芋艿:可以考虑改到 .env 那 + linkAddress: "http://192.168.31.13:3000", // TODO 芋艿:可以考虑改到 .env 那 posterInfo: { "user_bg": "/static/img/shop/config/user-poster-bg.png", "goods_bg": "/static/img/shop/config/goods-poster-bg.png",