26 lines
359 B
Go
26 lines
359 B
Go
package config
|
|
|
|
import (
|
|
"fusenapi/server/home-user-auth/internal/types"
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
)
|
|
|
|
type OAuth struct {
|
|
Name string `json:"name"`
|
|
Appid string `json:"appid"`
|
|
Secret string `json:"secret"`
|
|
}
|
|
|
|
type Config struct {
|
|
rest.RestConf
|
|
SourceMysql string
|
|
Auth types.Auth
|
|
|
|
OAuth []OAuth
|
|
|
|
Stripe struct {
|
|
SK string
|
|
}
|
|
}
|