正常的版本

This commit is contained in:
eson
2023-07-18 16:44:46 +08:00
parent e4e9339071
commit c13225d2fa
6 changed files with 46 additions and 23 deletions

View File

@@ -6,18 +6,22 @@ import (
"github.com/zeromicro/go-zero/rest"
)
type OAuth struct {
Name string `yaml:"name"`
Appid string `yaml:"appid"`
Secret string `yaml:"secret"`
}
type Config struct {
rest.RestConf
SourceMysql string
Auth types.Auth
OAuth []OAuth
OAuth struct {
Google struct {
Appid string
Secret string
}
Facebook struct {
Appid string
Secret string
}
}
Stripe struct {
SK string