|
@@ -97,15 +97,17 @@ type Smm struct {
|
|
|
|
|
|
// Xiangyu 象屿的配置
|
|
|
type Xiangyu struct {
|
|
|
- SystemCode string `mapstructure:"system-code" json:"system-code" yaml:"system-code" description:"系统编码"`
|
|
|
- UserSyncTarget string `mapstructure:"user-sync-target" json:"user-sync-target" yaml:"user-sync-target" description:"用户同步平台编码"`
|
|
|
- UserSyncHost string `mapstructure:"user-sync-host" json:"user-sync-host" yaml:"user-sync-host" description:"用户同步平台地址"`
|
|
|
- UserSyncAuthUserName string `mapstructure:"user-sync-auth-user-name" json:"user-sync-auth-user-name" yaml:"user-sync-auth-user-name" description:"用户统一身份的鉴权username"`
|
|
|
- UserSyncAuthPwd string `mapstructure:"user-sync-auth-pwd" json:"user-sync-auth-pwd" yaml:"user-sync-auth-pwd" description:"用户统一身份的鉴权password"`
|
|
|
- UserAuthHost string `mapstructure:"user-auth-host" json:"user-auth-host" yaml:"user-auth-host" description:"用户认证平台地址"`
|
|
|
- UserKey string `mapstructure:"user-key" json:"user-key" yaml:"user-key" description:"统一平台秘钥"`
|
|
|
- DefaultRoleId int `mapstructure:"default-role-id" json:"default-role-id" yaml:"default-role-id" description:"默认的角色id"`
|
|
|
- IndexSyncHost string `mapstructure:"index-sync-host" json:"index-sync-host" yaml:"index-sync-host" description:"指标同步平台地址"`
|
|
|
- IndexSyncAuth string `mapstructure:"index-sync-auth" json:"index-sync-auth" yaml:"index-sync-auth" description:"指标同步平台鉴权token"`
|
|
|
- IndexSyncTarget string `mapstructure:"index-sync-target" json:"index-sync-target" yaml:"index-sync-target" description:"指标同步平台编码"`
|
|
|
+ SystemCode string `mapstructure:"system-code" json:"system-code" yaml:"system-code" description:"系统编码"`
|
|
|
+ UserSyncTarget string `mapstructure:"user-sync-target" json:"user-sync-target" yaml:"user-sync-target" description:"用户同步平台编码"`
|
|
|
+ UserSyncHost string `mapstructure:"user-sync-host" json:"user-sync-host" yaml:"user-sync-host" description:"用户同步平台地址"`
|
|
|
+ UserAuthHost string `mapstructure:"user-auth-host" json:"user-auth-host" yaml:"user-auth-host" description:"用户认证平台地址"`
|
|
|
+ UserSyncAuthUserName string `mapstructure:"user-sync-auth-user-name" json:"user-sync-auth-user-name" yaml:"user-sync-auth-user-name" description:"用户统一身份的鉴权username"`
|
|
|
+ UserSyncAuthPwd string `mapstructure:"user-sync-auth-pwd" json:"user-sync-auth-pwd" yaml:"user-sync-auth-pwd" description:"用户统一身份的鉴权password"`
|
|
|
+ UserKey string `mapstructure:"user-key" json:"user-key" yaml:"user-key" description:"统一平台秘钥"`
|
|
|
+ DefaultRoleId int `mapstructure:"default-role-id" json:"default-role-id" yaml:"default-role-id" description:"默认的角色id"`
|
|
|
+ IndexSyncHost string `mapstructure:"index-sync-host" json:"index-sync-host" yaml:"index-sync-host" description:"指标同步平台地址"`
|
|
|
+ IndexSyncAuthUserName string `mapstructure:"index-sync-auth-user-name" json:"index-sync-auth-user-name" yaml:"index-sync-auth-user-name" description:"用户统一身份的鉴权username"`
|
|
|
+ IndexSyncAuthPwd string `mapstructure:"index-sync-auth-pwd" json:"index-sync-auth-pwd" yaml:"index-sync-auth-pwd" description:"用户统一身份的鉴权password"`
|
|
|
+ IndexKey string `mapstructure:"index-key" json:"index-key" yaml:"index-key" description:"统一平台秘钥"`
|
|
|
+ IndexSyncTarget string `mapstructure:"index-sync-target" json:"index-sync-target" yaml:"index-sync-target" description:"指标同步平台编码"`
|
|
|
}
|