feat 微信登录
This commit is contained in:
@@ -29,3 +29,8 @@ serve:
|
||||
address: "10.0.40.199"
|
||||
port: 8602
|
||||
ttl: 20
|
||||
|
||||
wxMini:
|
||||
appid: "wx1b6ea981a8bafd4e"
|
||||
secret: "e62e0fdf51db0e91dee3a7aba6a9c3ed"
|
||||
envVersion: "release"
|
||||
@@ -5,10 +5,15 @@ import "git.hlsq.asia/mmorpg/service-common/config"
|
||||
const path = "./config"
|
||||
|
||||
type Config struct {
|
||||
App *config.AppConfig `yaml:"app"`
|
||||
Log *config.LogConfig `yaml:"log"`
|
||||
DB *config.DBConfig `yaml:"db"`
|
||||
Serve *config.ServeConfig `yaml:"serve"`
|
||||
App *config.AppConfig `yaml:"app"`
|
||||
Log *config.LogConfig `yaml:"log"`
|
||||
DB *config.DBConfig `yaml:"db"`
|
||||
Serve *config.ServeConfig `yaml:"serve"`
|
||||
WxMini *struct {
|
||||
AppID string `yaml:"appid"`
|
||||
Secret string `yaml:"secret"`
|
||||
EnvVersion string `yaml:"envVersion"`
|
||||
} `yaml:"wxMini"`
|
||||
}
|
||||
|
||||
var cfg *Config
|
||||
|
||||
@@ -29,3 +29,8 @@ serve:
|
||||
address: "172.18.28.0"
|
||||
port: 8602
|
||||
ttl: 20
|
||||
|
||||
wxMini:
|
||||
appid: "wx1b6ea981a8bafd4e"
|
||||
secret: "e62e0fdf51db0e91dee3a7aba6a9c3ed"
|
||||
envVersion: "release"
|
||||
Reference in New Issue
Block a user