Files
2026-03-15 01:27:05 +08:00

40 lines
1.3 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 = {
// 服务端口
port: 3000,
// 是否开启日志输出
enableLog: false,
// 是否开启头像上传
enableAvatarUpload: false,
// 小程序配置
miniProgram: {
appId: 'wx51ab9a04fac56760',
appSecret: 'd326aaf93eb4d106e35592667ef022f5'
},
// 公众号配置 (用于获取永久头像)
officialAccount: {
appId: 'wx7a1c6f324182bc83',
appSecret: 'a90ba94e3a2dca8d09656dcc364e1df0', // 请在此处填入您的公众号 Secret
// 远程配置 Key用于动态获取网页授权域名
// 在远程配置 json 中配置此 key 对应的值为您的测试/正式域名
redirectDomainKey: 'minipro_api_url'
},
// 远程配置
remoteConfig: {
// 方式一:直接使用 Gitee/GitHub 的 Raw 文件地址 (推荐,最简单稳定)
// 示例https://gitee.com/用户名/仓库名/raw/分支名/config.json
configUrl: 'https://gitee.com/daoqijuyou/config/raw/master/update_jsonv2.txt',
interval: 30 * 1000, // 更新间隔,单位毫秒
agentid: "veRa0qrBf0df2K1G4de2tgfmVxB2jxpv",
gameid: "G2hw0ubng0zcoI0r4mx3H2yr4GejidwO",
channelid: "FtJf073aa0d6rI1xD8J1Y42fINTm0ziK",
marketid: 3
}
};