From ccd033b15a8c82f4d57fbbef5bc38bfca647a616 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Thu, 16 May 2024 16:15:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=B7=E6=8A=A5=EF=BC=9A=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E6=B5=B7=E6=8A=A5=E7=94=9F=E6=88=90=E5=B1=95=E7=A4=BA=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- sheep/api/migration/third.js | 5 +- .../s-share-modal/canvas-poster/index.vue | 83 +++++++++++-------- 3 files changed, 49 insertions(+), 41 deletions(-) diff --git a/.env b/.env index cb750ca4..b4ae1fd2 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://192.168.2.21:48080 +SHOPRO_DEV_BASE_URL = http://127.0.0.1:48080 ### SHOPRO_DEV_BASE_URL = http://yunai.natapp1.cc # 后端接口前缀(一般不建议调整) diff --git a/sheep/api/migration/third.js b/sheep/api/migration/third.js index b6e57401..85db8cc3 100644 --- a/sheep/api/migration/third.js +++ b/sheep/api/migration/third.js @@ -1,7 +1,5 @@ import request from '@/sheep/request'; -const socialType = 34; // 社交类型 - 微信小程序 - export default { // 微信相关 wechat: { @@ -25,10 +23,9 @@ export default { url: '/member/social-user/wxa-qrcode', method: 'POST', data: { - type: socialType, scene: query, - isCheckPath: false, // TODO 开发环境暂不检查 path 是否存在 path, + checkPath: false, // TODO 开发环境暂不检查 path 是否存在 }, }); }, diff --git a/sheep/components/s-share-modal/canvas-poster/index.vue b/sheep/components/s-share-modal/canvas-poster/index.vue index c7627238..5da08c00 100644 --- a/sheep/components/s-share-modal/canvas-poster/index.vue +++ b/sheep/components/s-share-modal/canvas-poster/index.vue @@ -2,24 +2,20 @@