Files
wechat-scan/.env.example
T

28 lines
570 B
Bash

"""
环境变量模板
使用方法:
1. 复制此文件为 .env
2. 填入你的实际值
3. .env 不会进 Git(已在 .gitignore 中排除)
cp .env.example .env
"""
# 微信测试号 - 从 https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/login 获取
WECHAT_TOKEN=your_custom_token_here
WECHAT_APPID=your_appid_here
WECHAT_SECRET=your_secret_here
# MySQL
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_USER=root
MYSQL_PASSWORD=your_mysql_password_here
MYSQL_DB=wechat_api
# Redis
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=your_redis_password_here