Files
lgp-admin-plus-api/.env.example
LQ 4979bb83d2
Some checks failed
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled
更新以来
2026-08-14 23:27:25 +08:00

82 lines
2.1 KiB
Plaintext
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.
APP_NAME=lgp-admin-plus
APP_ENV=local
APP_KEY=base64:pQ7mR2wYh4KdN8sZaJ6xVbT3fLcE9gUnO5rXi1DyBqM=
APP_DEBUG=true
APP_TIMEZONE=Asia/Shanghai
APP_URL=http://localhost
ECS=dev
APP_LOCALE=zh_CN
APP_FALLBACK_LOCALE=zh_CN
APP_FAKER_LOCALE=zh_CN
APP_MAINTENANCE_DRIVER=file
PHP_CLI_SERVER_WORKERS=4
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
# 数据库:同一个库两个连接
# mysql 前缀 nl_ → 脚手架系统表
# business 前缀 cc_ → 业务表(见 config/database.php 的 business 连接)
DB_CONNECTION=mysql
DB_HOST=mysql8
DB_PORT=3306
DB_DATABASE=cc_new_stash
DB_USERNAME=root
DB_PASSWORD=root
DB_PREFIX=nl_
DB_BUSINESS_PREFIX=cc_
# 业务库既有表主用 utf8mb4_0900_ai_ci保持一致避免新建表混排序规则
DB_COLLATION=utf8mb4_0900_ai_ci
SESSION_DRIVER=file
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
CACHE_STORE=redis
CACHE_PREFIX=
REDIS_CLIENT=phpredis
REDIS_HOST=redis
REDIS_PASSWORD=redis_Q83eyF
REDIS_PORT=6379
QUEUE_CONNECTION=redis
MAIL_MAILER=log
MAIL_FROM_ADDRESS="noreply@borman.top"
MAIL_FROM_NAME="${APP_NAME}"
# 库内敏感字段 AES 密钥(密文前缀 nl_ase_256_
# 一旦有数据入库就不能再改,否则历史密文无法解密
ENCRYPT_KEY=8d41c7b0e5a29f63d84b17ce9052af38b6e0d7419c2af58e3b06d915748ca2ef
# JWT HS256 密钥(至少 32 字符)
JWT_SECRET=f92a5d6c4e8b1d70a35f9c2e64b8d017a3e5c9f2b48d61a07e3c95b28f4d6a1c
AI_DEFAULT_PROVIDER=deepseek
SPARK_API_PASSWORD=
DEEPSEEK_API_KEY=
# 小程序品牌声明(单品牌部署兜底用)
# 双品牌共用一份部署时,仍以 nl_wx_app 表 + 请求头 X-App-Code 分流为主
# AppSecret 不写这里,必须经后台「小程序应用配置」加密入库
WX_DEFAULT_APP_CODE=wl
WX_APP_ID=wx57b54060a579c31a
WX_APP_NAME=佛山铂尔曼
# weilun
# $this->appId = 'wx57b54060a579c31a';
# $this->appSecret = 'b1b1852d6c438893bfd2cc1cdd5114dc';
# boerman
# $this->appId = 'wx679d36842570cea7';
# $this->appSecret = '4f2bcb8ca2ed1aaa29ae82ce270338e3';