🏗️ microservice fabric splitting

This commit is contained in:
2024-12-24 00:38:41 +08:00
parent 462e811742
commit 89d64336f5
311 changed files with 18384 additions and 2428 deletions

View File

@@ -0,0 +1,63 @@
package config
import "github.com/zeromicro/go-zero/rest"
type Config struct {
rest.RestConf
Web struct {
URL string
}
Auth struct {
AccessSecret string
}
Encrypt struct {
Key string
IV string
}
Mysql struct {
DataSource string
MaxOpenConn int
MaxIdleConn int
}
Redis struct {
Host string
Pass string
DB int
}
Wechat struct {
AppID string
AppSecret string
Token string
AESKey string
}
OAuth struct {
Github struct {
ClientID string
ClientSecret string
RedirectURI string
}
QQ struct {
ClientID string
ClientSecret string
RedirectURI string
}
Gitee struct {
ClientID string
ClientSecret string
RedirectURI string
}
}
SMS struct {
Ali struct {
Host string
AccessKeyId string
AccessKeySecret string
Signature string
TemplateCode string
}
SMSBao struct {
Username string
Password string
}
}
}