You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
4.6 KiB
55 lines
4.6 KiB
package config
|
|
|
|
type Server struct {
|
|
JWT JWT `mapstructure:"jwt" json:"jwt" yaml:"jwt"`
|
|
Zap Zap `mapstructure:"zap" json:"zap" yaml:"zap"`
|
|
Redis Redis `mapstructure:"redis" json:"redis" yaml:"redis"`
|
|
WechatRedis Redis `mapstructure:"rediswechat" json:"rediswechat" yaml:"rediswechat"`
|
|
WechatRedis2 Redis `mapstructure:"rediswechat2" json:"rediswechat2" yaml:"rediswechat2"`
|
|
WechatRedis5 Redis `mapstructure:"rediswechat5" json:"rediswechat5" yaml:"rediswechat5"`
|
|
RedisPrefix RedisPrefixStr `mapstructure:"redisprefix" json:"redisprefix" yaml:"redisprefix"` //redis键浅醉
|
|
Email Email `mapstructure:"email" json:"email" yaml:"email"`
|
|
Casbin Casbin `mapstructure:"casbin" json:"casbin" yaml:"casbin"`
|
|
System System `mapstructure:"system" json:"system" yaml:"system"`
|
|
Captcha Captcha `mapstructure:"captcha" json:"captcha" yaml:"captcha"`
|
|
// auto
|
|
AutoCode Autocode `mapstructure:"autoCode" json:"autoCode" yaml:"autoCode"`
|
|
// gorm
|
|
Mysql Mysql `mapstructure:"mysql" json:"mysql" yaml:"mysql"`
|
|
//其他数据库配置
|
|
MysqlMaster Mysql `mapstructure:"mysqlMaster" json:"mysqlMaster" yaml:"mysqlMaster"`
|
|
MysqlBookDate Mysql `mapstructure:"mysqlBookDate" json:"mysqlBookDate" yaml:"mysqlBookDate"`
|
|
MysqlWatchDate Mysql `mapstructure:"mysqlWatchDate" json:"mysqlWatchDate" yaml:"mysqlWatchDate"`
|
|
MysqlErrorSubjectDate Mysql `mapstructure:"mysqlErrorSubjectDate" json:"mysqlErrorSubjectDate" yaml:"mysqlErrorSubjectDate"`
|
|
MysqlMyTestDate Mysql `mapstructure:"mysqlMyTestDate" json:"mysqlMyTestDate" yaml:"mysqlMyTestDate"`
|
|
MysqlBooImgkDate Mysql `mapstructure:"mysqlBooImgkDate" json:"mysqlBooImgkDate" yaml:"mysqlBooImgkDate"`
|
|
MysqlIntegralDate Mysql `mapstructure:"mysqlIntegralDate" json:"mysqlIntegralDate" yaml:"mysqlIntegralDate"`
|
|
MysqlQADate Mysql `mapstructure:"mysqlQADate" json:"mysqlQADate" yaml:"mysqlQADate"`
|
|
MysqlBillboardDate Mysql `mapstructure:"mysqlBillboardDate" json:"mysqlBillboardDate" yaml:"mysqlBillboardDate"`
|
|
MysqlHealthReportDate Mysql `mapstructure:"mysqlHealthReportDate" json:"mysqlHealthReportDate" yaml:"mysqlHealthReportDate"`
|
|
MysqlApprovalProcess Mysql `mapstructure:"mysqlApprovalProcess" json:"mysqlApprovalProcess" yaml:"mysqlApprovalProcess"`
|
|
MysqlPerformanceappraisal Mysql `mapstructure:"mysqlPerformanceappraisal" json:"mysqlPerformanceappraisal" yaml:"mysqlPerformanceappraisal"`
|
|
MysqlWechatCallBack Mysql `mapstructure:"mysqlWechatCallBack" json:"mysqlWechatCallBack" yaml:"mysqlWechatCallBack"`
|
|
HrDataBase Mysql `mapstructure:"hrdatabase" json:"hrdatabase" yaml:"hrdatabase"`
|
|
HrDataBaseKingDee Mysql `mapstructure:"hrdatabasekingdee" json:"hrdatabasekingdee" yaml:"hrdatabasekingdee"`
|
|
SystemPermission Mysql `mapstructure:"systemPermission" json:"systemPermission" yaml:"systemPermission"`
|
|
|
|
// oss
|
|
Local Local `mapstructure:"local" json:"local" yaml:"local"`
|
|
Qiniu Qiniu `mapstructure:"qiniu" json:"qiniu" yaml:"qiniu"`
|
|
AliyunOSS AliyunOSS `mapstructure:"aliyun-oss" json:"aliyunOSS" yaml:"aliyun-oss"`
|
|
TencentCOS TencentCOS `mapstructure:"tencent-cos" json:"tencentCOS" yaml:"tencent-cos"`
|
|
Excel Excel `mapstructure:"excel" json:"excel" yaml:"excel"`
|
|
Timer Timer `mapstructure:"timer" json:"timer" yaml:"timer"`
|
|
WorkWechatId workWechatId `mapstructure:"workwechatid" json:"workwechatid" yaml:"workwechatid"`
|
|
WorkWechatSchool workWechatApplication `mapstructure:"workwechatschool" json:"workwechatschool" yaml:"workwechatschool"`
|
|
WorkWechatMailList workWechatSecret `mapstructure:"workwechatappmaillist" json:"workwechatappmaillist" yaml:"workwechatappmaillist"`
|
|
WorkHealthReport workWechatSecret `mapstructure:"healthreport" json:"healthreport" yaml:"healthreport"`
|
|
|
|
WorkWechatIds workWechatId `mapstructure:"workwechatids" json:"workwechatids" yaml:"workwechatids"`
|
|
WorkWechatSchools workWechatApplication `mapstructure:"workwechatschools" json:"workwechatschools" yaml:"workwechatschools"`
|
|
WorkWechatMailLists workWechatSecret `mapstructure:"workwechatappmaillists" json:"workwechatappmaillists" yaml:"workwechatappmaillists"`
|
|
WorkHealthReports workWechatSecret `mapstructure:"healthreports" json:"healthreports" yaml:"healthreports"`
|
|
|
|
MyConfig MyConfigStruct `mapstructure:"privateConfig" json:"privateConfig" yaml:"privateConfig"`
|
|
}
|
|
|