Files
wechatWeb/config/config.production.js
张成 2d900ef2ac 1
2026-04-01 13:42:29 +08:00

50 lines
1.1 KiB
JavaScript
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.
/**
* 开发/测试环境配置
*/
module.exports = {
// ============================================
// 数据库配置(测试环境)
// ============================================
"db": {
"username": "wechat_admin",
"password": "YJEjLXnxJ3WraSiy",
"database": "wechat_admin",
"host": "101.132.75.138",
"port": 3306,
"dialect": "mysql"
},
// ============================================
// 微信配置(测试环境)
"aliyun": {
"accessKeyId": "LTAI5t7kYFnwxKMBUgdQLvVT",
"accessKeySecret": "TqXxL6rTYaXDg4RGOgCukyc9gWgl54",
"ossUrl": "https://bimwe.oss-cn-shanghai.aliyuncs.com",
"bucket": "bimwe",
},
"redis": {
"host": "101.132.75.138",
"port": "6379",
"pwd": "zc123"
},
"ai": {
"apiKey": "",
"baseUrl": "https://dashscope.aliyuncs.com/api/v1"
},
// 官方 API 上游地址(转发层目标)
"upstream_api_url": "http://127.0.0.1:8888",
/** 生产环境务必设置环境变量 BIZ_TOKEN_ENC_KEY长随机串 */
"biz_token_enc_key": process.env.BIZ_TOKEN_ENC_KEY,
}