Files
rlz/.env.docker.example
renjianbo 805ed0298b feat: 新增多角色系统(派单/分润/推广/区域)
- 后端:RlzDispatch/Profit/Promotion/Region 控制器、服务、Mapper、领域模型
- 权限:MethodSecurityConfig + PermissionInterceptor
- 管理后台:派单/分润/推广/区域 页面与 API
- Android 陪护端:派单/运营/退款 Fragment 及布局
- 小程序:推广员子包、派单/运营/退款/检索子包、自定义 tabBar
- 文档:多角色系统方案、角色权限矩阵、用户操作手册等

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-10-12 00:09:45 +08:00

39 lines
1.1 KiB
Plaintext
Raw Permalink 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.
# 复制为 .env 后填写(勿将 .env 提交到 Git)
# cp .env.docker.example .env
# 对外发布后端端口(宿主机:容器均为 8039)
BACKEND_PUBLISH=8039
# MySQL(示例为腾讯云 CynosDB,请按实际修改)
MYSQL_HOST=gz-cynosdbmysql-grp-d26pzce5.sql.tencentcdb.com
MYSQL_PORT=24936
MYSQL_DATABASE=rlz
MYSQL_USER=root
MYSQL_PASSWORD=your_password_here
MYSQL_USE_SSL=true
# Redis 由 docker-compose 内 rlz-redis 提供,一般无需改
# REDIS_HOST=redis
# ============ 安全配置 ============
# JWT Token 签名密钥(务必使用强随机字符串,建议 openssl rand -hex 32)
TOKEN_SECRET=change_me_to_random_64chars
# Druid 监控面板(生产环境保持 false)
DRUID_MONITOR_ENABLED=false
DRUID_ALLOW_IP=127.0.0.1
DRUID_PASSWORD=
# ============ 微信支付配置 ============
WX_APP_ID=wx2d5ca40a16ebd1b3
WX_SECRET=
WX_MCH_ID=1637125805
WX_MCH_SERIAL_NO=
WX_API_V3_KEY=
WX_PRIVATE_KEY=
WX_NOTIFY_URL=https://ruilaizipj.com/prod-api/system/weixin/wxPayNotify
WX_REFUND_NOTIFY_URL=https://ruilaizipj.com/prod-api/system/weixin/wxRefundNotify
# AES 加密密钥(用于 authToken 生成)
AES_ENCRYPT_KEY=