2023-06-01 07:32:28 +00:00
|
|
|
package config
|
|
|
|
|
2023-06-07 03:35:04 +00:00
|
|
|
import (
|
2023-06-08 03:03:20 +00:00
|
|
|
"fusenapi/server/product/internal/types"
|
2023-06-19 07:52:14 +00:00
|
|
|
|
2023-06-07 03:35:04 +00:00
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
|
|
)
|
2023-06-01 07:32:28 +00:00
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
rest.RestConf
|
2023-06-19 07:52:14 +00:00
|
|
|
SourceMysql string
|
|
|
|
Auth types.Auth
|
2023-07-30 16:41:04 +00:00
|
|
|
ReplicaId uint64
|
2023-09-26 08:36:35 +00:00
|
|
|
AWS struct {
|
|
|
|
S3 struct {
|
|
|
|
Credentials struct {
|
|
|
|
AccessKeyID string
|
|
|
|
Secret string
|
|
|
|
Token string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
BLMService struct {
|
|
|
|
Url string
|
|
|
|
LogoCombine struct {
|
|
|
|
Url string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Unity struct {
|
|
|
|
Host string
|
|
|
|
}
|
2023-06-01 07:32:28 +00:00
|
|
|
}
|