2023-05-31 10:33:02 +00:00
|
|
|
package config
|
|
|
|
|
2023-06-01 10:35:09 +00:00
|
|
|
import (
|
2023-06-08 02:51:56 +00:00
|
|
|
"fusenapi/server/home-user-auth/internal/types"
|
2023-06-01 10:35:09 +00:00
|
|
|
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
|
|
)
|
2023-05-31 10:33:02 +00:00
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
rest.RestConf
|
2023-06-05 09:56:55 +00:00
|
|
|
SourceMysql string
|
|
|
|
Auth types.Auth
|
2023-06-20 11:36:28 +00:00
|
|
|
|
2023-07-24 04:18:27 +00:00
|
|
|
MainAddress string
|
|
|
|
|
2023-07-18 08:44:46 +00:00
|
|
|
OAuth struct {
|
|
|
|
Google struct {
|
|
|
|
Appid string
|
|
|
|
Secret string
|
|
|
|
}
|
|
|
|
|
|
|
|
Facebook struct {
|
|
|
|
Appid string
|
|
|
|
Secret string
|
|
|
|
}
|
|
|
|
}
|
2023-07-17 11:43:43 +00:00
|
|
|
|
2023-06-20 11:36:28 +00:00
|
|
|
Stripe struct {
|
|
|
|
SK string
|
|
|
|
}
|
2023-07-28 11:03:36 +00:00
|
|
|
|
|
|
|
PayConfig struct {
|
|
|
|
Stripe struct {
|
|
|
|
EndpointSecret string
|
|
|
|
Key string
|
|
|
|
CancelURL string
|
|
|
|
SuccessURL string
|
|
|
|
}
|
|
|
|
}
|
2023-05-31 10:33:02 +00:00
|
|
|
}
|