feat(customers): 增加商户编号并补齐生日提醒信息
录入、列表和导入导出带上商户编号。生日提醒展示与录入一致的商户资料,旧阴历生日仍按农历提醒。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import type { NextAuthConfig, DefaultSession } from "next-auth";
|
||||
|
||||
// 本地 `next dev` 忽略 .env 里的生产 AUTH_URL,避免 localhost 被跳到公网机。
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
delete process.env.AUTH_URL;
|
||||
}
|
||||
|
||||
// Edge 安全的基础配置:不引入 Prisma / bcrypt,供 middleware 使用。
|
||||
// 真正带数据库校验的 Credentials provider 在 auth.ts 里注入。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user