Files
CKB-DataSourceCenter/.env.example
乘风 db3b80d3ff 增强 MongoDB 集成及用户管理功能
更新 composer.json 文件,添加新的依赖项:vlucas/phpdotenv、predis/predis、dragonmantank/cron-expression、php-amqplib/php-amqplib 以及 ramsey/uuid。
在 IndexController 中添加 MongoDB 连接测试接口。
在 UserController 中实现用户管理接口,用于创建、更新、删除和搜索用户。
在 database.php 中配置 MongoDB 连接设置。
更新路由,以包含新的与用户相关的 API 接口。
增强用户操作中的错误处理和日志记录功能。
在 process.php 中引入数据同步和工作进程配置。
2026-01-05 10:46:44 +08:00

24 lines
834 B
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 并修改相应的配置值,不要提交到版本控制系统
# ============================================
# 加密配置
# ============================================
# AES 加密密钥至少32字符建议使用随机生成的强密钥
# 生产环境请务必修改此密钥,并妥善保管
ENCRYPTION_AES_KEY=your-32-byte-secret-key-here-12345678
# 哈希盐值(用于身份证哈希,增强安全性)
# 生产环境请务必修改此盐值
ENCRYPTION_HASH_SALT=your-hash-salt-here-change-in-production
# ============================================
# 应用配置
# ============================================
# 应用环境development/production
APP_ENV=development
# 应用调试模式true/false
APP_DEBUG=true