123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- 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
- }
- DefaultSearchCacheTime int //清除搜索列表内存缓存 间隔时间
- LimitSearchText struct {
- Flag bool
- Count int
- TimeOut int
- Percentage int
- UserIds []string
- Msg string
- LimitKey string
- }
- SearchTypeSwitch bool
- FileSignBool bool
- PaySearchLimit struct {
- Switch bool
- Year int
- Month int
- WordSize int
- PageNum int64
- PageSize int64
- }
- KeywordsLimit int
- DefaultBidInfo struct {
- NumMsg string
- PageNum int
- Count int
- }
- DefaultTopTypes []string
- }
- type Db struct {
- Mysql entity.Mysql `json:"mysql"`
- Redis entity.RedisStuct `json:"redis"`
- Es entity.EsStruct `json:"es"`
- Mongo entity.Mongo `json:"mongo"`
- }
|