feat 微信登录

This commit is contained in:
2026-01-14 10:53:27 +08:00
parent 7aec1c2d4f
commit 3750ff1c34
12 changed files with 235 additions and 25 deletions

View File

@@ -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