Files
liandong-crm/.env.example
T
luishouandClaude Opus 4.8 5d46afe439 feat: 联动支付 CRM 后台(Next.js + TS + Prisma 重构)
从旧 Laravel 5.7 重构为现代技术栈,对接现有 MySQL。

- 技术栈: Next.js 15 App Router + TypeScript + Prisma + Auth.js + Tailwind v4
- 认证: 复用旧库 admins 的 bcrypt 密码,Auth.js Credentials
- 客户管理: 列表(搜索/报单区间/分页)、增改删、Excel 导入导出
- 生日提醒: 阴阳历(lunar-typescript),口径对齐旧 overtrue 库
- RBAC: 管理员/角色/权限(菜单树) 完整 CRUD + 分配
- 控制台: 统计卡 + 月度新增报单柱状图
- 个人中心: 改昵称/改密码
- 现代 CMS 界面 + 联动支付品牌(logo/登录/底部/icon)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 15:02:03 +08:00

11 lines
380 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 腾讯云自建 MySQL(Prisma 直连)
DATABASE_URL="mysql://crm_dev:PASSWORD@124.223.187.95:3306/crm_dev"
# Auth.js 会话加密密钥:openssl rand -base64 32
AUTH_SECRET="please-run-openssl-rand-base64-32"
# 开发环境不需要 AUTH_URL(trustHost:true 自动识别 host/端口)。
# 仅生产部署时设为真实域名:
# AUTH_URL="https://crm.yourdomain.com"