fix: 注册接口不再接受客户端 app,管理员身份改按 role 判定

客户端可在 /user/register 的 app 入参写入 wxapp-escort-admin 键自封管理员;改为注册忽略 app,管理员身份统一由 utils 判定 role。conf.json 含微信密钥与库口令,移出版本控制。
This commit is contained in:
lik
2026-10-24 22:00:11 +08:00
committed by trae-solo-agent
parent acf89ba932
commit be60104f21
4 changed files with 36 additions and 33 deletions
+2
View File
@@ -1,3 +1,5 @@
/node_modules/
/logs/
.env
# 含微信 AppSecret 与数据库口令,只允许外置在服务器上,禁止入库
conf.json