package config import ( "bp.jydev.jianyu360.cn/CRM/application/entity" "github.com/zeromicro/go-zero/rest" "github.com/zeromicro/go-zero/zrpc" ) type Config struct { rest.RestConf Gateway struct { ServerCode string Etcd []string } UserCenterRpc zrpc.RpcClientConf FileCenterRpc zrpc.RpcClientConf OssBucketName string OssUrl string BaseCenterRpc zrpc.RpcClientConf } type Db struct { Mysql entity.Mysql `json:"mysql"` Mongo entity.Mongo `json:"mongo"` Es entity.EsStruct `json:"es"` } type Push struct { TimeTaskSwitch bool StationMailHref string StationMailAction string TestId string SaleClue struct { Create Create Due Due } SaleChance struct { Create Create Due Due } Custom struct { Create Create Due Due } PushTime string DueDay int } type Create struct { Title string Content string PcHref string MobileHref string } type Due struct { Title string Content string PcHref string MobileHref string }