123456789101112131415161718192021222324252627282930313233 |
- package config
- import (
- "github.com/zeromicro/go-zero/zrpc"
- "jyBXCore/entity"
- )
- type Config struct {
- zrpc.RpcServerConf
- Webrpcport int64
- BidSearchOldUserLimit int64
- LabelUrl struct {
- Area string
- Stype string
- Industry string
- }
- PCSTime int //清除搜索列表内存缓存 间隔时间
- LimitSearchText struct {
- Flag bool
- Count int
- TimeOut int
- Percentage int
- UserIds []string
- Msg string
- }
- }
- type Db struct {
- Mysql entity.Mysql `json:"mysql"`
- Redis entity.RedisStuct `json:"redis"`
- Es entity.EsStruct `json:"es"`
- Mongo entity.Mongo `json:"mongo"`
- }
|