增加小程序,修改游戏前端

This commit is contained in:
2026-02-04 17:29:51 +08:00
parent de17737ca1
commit 8c677908d7
835 changed files with 283328 additions and 2165 deletions

View File

@@ -0,0 +1,39 @@
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
}
};