feat: 新增微信小程序客户端鉴权与登录功能

This commit is contained in:
andyesfly committed 2026-10-24 21:15:14 +08:00
1 parent 9d3bb13ecf
commit 4c48b04d5e
13 files changed
+685 -5

No files matched your search

+6
View File
@@ -83,6 +83,12 @@ export default {
refreshExpiresIn: "7d"
},
// 微信小程序(静默登录 code2session)
wx: {
appId: process.env.WX_APPID || "",
secret: process.env.WX_SECRET || ""
},
// multipart/form-data 解析配置(现场照片上传)
upload: {
mode: "file",