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 StationMailHref string StationMailAction string TestId string } type Db struct { Mysql entity.Mysql `json:"mysql"` Redis entity.RedisStuct `json:"redis"` Mongo entity.Mongo `json:"mongo"` Es entity.EsStruct `json:"es"` }