This commit is contained in:
yin 2026-10-12 18:01:40 +08:00
parent 7a486377ed
commit e3f975e389
2 changed files with 5 additions and 4 deletions

View File

@ -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" : {

View File

@ -14,10 +14,10 @@
<text class="text--strong">common: true</text>,因此会出现在首页
<text class="text--strong">「常用功能」段</text>里(LOCAL_COMMON_ENTRIES),**未登录也能看到**。
</view>
<view class="text">
<!-- <view class="text">
这正是「未登录也必须有可浏览内容」这条微信审核要求的落点:
「常用功能」由前端本地清单决定,不依赖后端菜单是否配置。
</view>
</view> -->
</view>
</view>
</template>