2023-07-26 03:06:05 +00:00
|
|
|
package config
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fusenapi/server/pay/internal/types"
|
|
|
|
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
rest.RestConf
|
|
|
|
SourceMysql string
|
|
|
|
Auth types.Auth
|
2023-07-30 16:41:04 +00:00
|
|
|
ReplicaId uint64
|
2023-07-26 11:23:16 +00:00
|
|
|
PayConfig struct {
|
2023-07-26 03:06:05 +00:00
|
|
|
Stripe struct {
|
2023-07-28 03:15:42 +00:00
|
|
|
EndpointSecret string
|
|
|
|
Key string
|
|
|
|
CancelURL string
|
|
|
|
SuccessURL string
|
2023-07-26 03:06:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|