diff --git a/src/manifest.json b/src/manifest.json index 65eef97..bde5f14 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -51,12 +51,13 @@ /* 小程序特有相关 */ "mp-weixin" : { /* 微信小程序 AppID(公众平台 → 开发管理 → 开发设置) - ⚠️ 这里填的是**开发调试用**的小程序:wx528af80241d633e1 + ⚠️ 2026-10-12 起使用:wx31f8d1ee127bc64b + (上一版为开发调试用的 wx528af80241d633e1) 原因:微信登录(wechat.loginByCode)取的是**运行时真实 AppID** (wx.getAccountInfoSync),且要求该 AppID 在 wms_wechat_app 里 有启用中的授权记录 —— 授权是按小程序维度的,必须用已授权的那一个。 上传模板代码 / 作为开放平台模板发布时,记得切回模板小程序 AppID。 */ - "appid" : "wx528af80241d633e1", + "appid" : "wx31f8d1ee127bc64b", "projectname" : "wms_mp_weixin", /* 微信开发者工具项目设置 */ "setting" : { diff --git a/src/pagesA/demo/public.vue b/src/pagesA/demo/public.vue index 126d45c..bbb5856 100644 --- a/src/pagesA/demo/public.vue +++ b/src/pagesA/demo/public.vue @@ -14,10 +14,10 @@ common: true,因此会出现在首页 「常用功能」段里(LOCAL_COMMON_ENTRIES),**未登录也能看到**。 - +