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

47 lines
1.1 KiB
JavaScript
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.
/**
* 开发/测试环境配置
*/
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://113.44.162.180:7006",
/** 用于加密存储 Token 明文供管理端查看(生产请用环境变量 BIZ_TOKEN_ENC_KEY */
"biz_token_enc_key": process.env.BIZ_TOKEN_ENC_KEY || "wechat-admin-dev-token-enc-key-change-me",
}