mirror of
https://github.com/genxium/DelayNoMore
synced 2025-10-09 08:36:52 +00:00
Initial commit.
This commit is contained in:
7
battle_srv/configs.template/bot_server.json
Normal file
7
battle_srv/configs.template/bot_server.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"secondsBeforeSummoning": 10,
|
||||
"protocol": "http",
|
||||
"host": "localhost",
|
||||
"port": 15351,
|
||||
"symmetricKey": ""
|
||||
}
|
7
battle_srv/configs.template/mysql.json
Normal file
7
battle_srv/configs.template/mysql.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"host": "localhost",
|
||||
"port": 3306,
|
||||
"dbname": "tsrht",
|
||||
"username": "root",
|
||||
"password": "root"
|
||||
}
|
BIN
battle_srv/configs.template/pre_conf_data.sqlite
Normal file
BIN
battle_srv/configs.template/pre_conf_data.sqlite
Normal file
Binary file not shown.
6
battle_srv/configs.template/redis.json
Normal file
6
battle_srv/configs.template/redis.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"host": "localhost",
|
||||
"port": 6379,
|
||||
"dbname": 0,
|
||||
"password": ""
|
||||
}
|
3
battle_srv/configs.template/sio.json
Normal file
3
battle_srv/configs.template/sio.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"hostAndPort": "0.0.0.0:9992"
|
||||
}
|
BIN
battle_srv/configs.template/test_env.sqlite
Normal file
BIN
battle_srv/configs.template/test_env.sqlite
Normal file
Binary file not shown.
33
battle_srv/configs.template/wechat.go
Normal file
33
battle_srv/configs.template/wechat.go
Normal file
@@ -0,0 +1,33 @@
|
||||
package configs
|
||||
|
||||
type WechatConfig struct {
|
||||
ApiProtocol string
|
||||
ApiGateway string
|
||||
AppID string
|
||||
AppSecret string
|
||||
}
|
||||
|
||||
// Fserver
|
||||
var WechatConfigIns = WechatConfig{
|
||||
ApiProtocol: "http",
|
||||
ApiGateway: "119.29.236.44:8089",
|
||||
AppID: "wx5432dc1d6164d4e",
|
||||
AppSecret: "secret1",
|
||||
}
|
||||
|
||||
/*
|
||||
// Production
|
||||
var WechatConfigIns = WechatConfig {
|
||||
ApiProtocol: "https",
|
||||
ApiGateway: "api.weixin.qq.com",
|
||||
AppID: "wxe7063ab415266544",
|
||||
AppSecret: "secret1",
|
||||
}
|
||||
*/
|
||||
|
||||
var WechatGameConfigIns = WechatConfig{
|
||||
ApiProtocol: "https",
|
||||
ApiGateway: "api.weixin.qq.com",
|
||||
AppID: "wxf497c910a2a25edc",
|
||||
AppSecret: "secret1",
|
||||
}
|
Reference in New Issue
Block a user