fix: 统一小程序AppSecret配置

- 修复login/route.ts中的AppSecret为正确值
- 之前登录API使用了错误的AppSecret导致无法获取真实openId
This commit is contained in:
卡若
2026-01-25 11:40:35 +08:00
parent 153b8d9795
commit 65d2831a45
3 changed files with 209 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ import { NextResponse } from 'next/server'
const MINIPROGRAM_CONFIG = {
appId: 'wxb8bbb2b10dec74aa',
appSecret: '85d3fa31584d06acdb1de4a597d25b7b',
appSecret: '3c1fb1f63e6e052222bbcead9d07fe0c', // 2026-01-25 修正
}
/**