12345678910111213141516171819202122232425262728293031 |
- package consts
- import (
- "context"
- "github.com/gogf/gf/v2/frame/g"
- )
- const (
- AreaType = iota + 1 //省份
- CityType //城市
- CitySpecialType //直辖市
- HotBidding = iota - 2
- CityBidding
- ClassBidding
- )
- var (
- SettingPageSize = g.Cfg().MustGet(context.Background(), "listPageSetting.pageSize").Int()
- SettingBidCacheTime = g.Cfg().MustGet(context.Background(), "listPageSetting.cacheTime").Int64()
- BiddingListMaxTotal = g.Cfg().MustGet(context.Background(), "listPageSetting.maxBidSize", 5000).Int()
- WebDomainFormat = g.Cfg("global").MustGet(context.Background(), "webDomainFormat").String()
- TopTypeMap = map[string]string{
- "招标预告": "预告",
- "招标公告": "招标",
- "招标结果": "结果",
- "招标信用信息": "其它",
- }
- )
|