feat: integrate OA activation workflows and business migration
This commit is contained in:
@@ -6,9 +6,10 @@ import "time"
|
||||
// It intentionally uses ordinary Go types so configuration is independent of
|
||||
// protobuf generation and can be consumed by every internal module.
|
||||
type Config struct {
|
||||
Server *Server `mapstructure:"server" yaml:"server" json:"server"`
|
||||
Data *Data `mapstructure:"data" yaml:"data" json:"data"`
|
||||
Admin *Admin `mapstructure:"admin" yaml:"admin" json:"admin"`
|
||||
BusinessOA *BusinessOA `mapstructure:"business_oa" yaml:"business_oa" json:"-"`
|
||||
Server *Server `mapstructure:"server" yaml:"server" json:"server"`
|
||||
Data *Data `mapstructure:"data" yaml:"data" json:"data"`
|
||||
Admin *Admin `mapstructure:"admin" yaml:"admin" json:"admin"`
|
||||
}
|
||||
|
||||
type Server struct {
|
||||
@@ -224,3 +225,9 @@ type ObjectStore struct {
|
||||
ForcePathStyle bool `mapstructure:"force_path_style" yaml:"force_path_style" json:"force_path_style"`
|
||||
AccountID string `mapstructure:"account_id" yaml:"account_id" json:"account_id"`
|
||||
}
|
||||
|
||||
// BusinessOA.URL 包含 OA 的路由前缀;Key 与 OA 服务间密钥一致。
|
||||
type BusinessOA struct {
|
||||
URL string `mapstructure:"url" yaml:"url" json:"url"`
|
||||
Key string `mapstructure:"key" yaml:"key" json:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user