|
@@ -118,11 +118,11 @@ type Xiangyu struct {
|
|
|
|
|
|
|
|
|
type HTFutures struct {
|
|
|
- APIAuth bool `mapstructure:"api-auth" json:"api-auth" yaml:"api-auth" description:"海通SSO登录签名认证"`
|
|
|
- PrivateKeyPemPath string `mapstructure:"private-key-pem-path" json:"private-key-pem-path" yaml:"private-key-pem-path" description:"私钥文件目录"`
|
|
|
- SSOAuthHost string `mapstructure:"sso-auth-host" json:"sso-auth-host" yaml:"sso-auth-host" description:"用户认证平台地址"`
|
|
|
- OaDBDns string `mapstructure:"oa-db-dns" json:"oa-db-dns" yaml:"oa-db-dns" description:"OA数据库连接地址"`
|
|
|
- EnableTask bool `mapstructure:"enable-task" json:"enable-task" yaml:"enable-task" description:"启动任务"`
|
|
|
+ APIAuth bool `mapstructure:"api-auth" json:"api-auth" yaml:"api-auth" description:"海通SSO登录签名认证"`
|
|
|
+ PrivateKeyPemPath string `mapstructure:"private-key-pem-path" json:"private-key-pem-path" yaml:"private-key-pem-path" description:"私钥文件目录"`
|
|
|
+ SSOAuthHost string `mapstructure:"sso-auth-host" json:"sso-auth-host" yaml:"sso-auth-host" description:"用户认证平台地址"`
|
|
|
+ OaDBDns string `mapstructure:"oa-db-dns" json:"oa-db-dns" yaml:"oa-db-dns" description:"OA数据库连接地址"`
|
|
|
+ SyncTask SyncTask `mapstructure:"sync-task" json:"sync-task" yaml:"sync-task" description:"同步任务"`
|
|
|
|
|
|
|
|
|
|
|
@@ -134,6 +134,11 @@ type HTFutures struct {
|
|
|
|
|
|
}
|
|
|
|
|
|
+type SyncTask struct {
|
|
|
+ EnableTask bool `mapstructure:"enable-task" json:"enable-task" yaml:"enable-task" description:"是否启动同步任务"`
|
|
|
+ SyncTaskInterval int `mapstructure:"sync-task-interval" json:"sync-task-interval" yaml:"sync-task-interval" description:"定时任务时间间隔"`
|
|
|
+ SyncRoleId int `mapstructure:"sync_role_id" json:"sync_role_id" yaml:"sync_role_id" description:"同步用户角色id"`
|
|
|
+}
|
|
|
type PCSG struct {
|
|
|
BloombergApiUrl string `mapstructure:"bloomberge-api-url" json:"bloomberge-api-url" yaml:"bloomberge-api-url" description:"彭博API服务地址"`
|
|
|
}
|