From f79d4c83466f6b5f3cab0ee09c62a073cd347191 Mon Sep 17 00:00:00 2001 From: Tuzki <1720599558@qq.com> Date: Sat, 8 Mar 2025 15:45:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(components/f-login):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 uni.getAccountInfoSync() 调用,获取 miniProgram 对象 - 更新微信小程序的 appid 为 wx43f2232676218ce3 --- components/f-login/f-login.js | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/f-login/f-login.js b/components/f-login/f-login.js index 5d00e80..4048545 100644 --- a/components/f-login/f-login.js +++ b/components/f-login/f-login.js @@ -7,7 +7,7 @@ function getPhoneInfo(info, successCallback, errCallback) { let httpData = {} // #ifdef MP-WEIXIN // const extConfig = uni.getExtConfigSync ? uni.getExtConfigSync() : uni.getAccountInfoSync();//创巨圆商户平台管理 - const extConfig = uni.getAccountInfoSync(); + const extConfig = uni.getAccountInfoSync().miniProgram; console.log(extConfig,'获取appiod') httpData = { appId: extConfig.appId, diff --git a/manifest.json b/manifest.json index 6a18bca..8918ac3 100644 --- a/manifest.json +++ b/manifest.json @@ -57,7 +57,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wxdad89d17cba4bf1c", + "appid" : "wx43f2232676218ce3", "setting" : { "urlCheck" : false, "es6" : true,