package config

import (
	"jyBXBase/entity"

	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	zrpc.RpcServerConf
	Webrpcport            int64
	BidSearchOldUserLimit int64
	FileSignBool          bool
	UnitAppend            string //数值单位后面的加号 写死的目前
	UserCenterKey         string
	PowerCheckCenterKey   string
	EntManageApplication  string
	NewsLimitNum          int64 // 移动端首页最新标讯数量限制
}

type Db struct {
	Mysql entity.Mysql      `json:"mysql"`
	Redis entity.RedisStuct `json:"redis"`
	Es    entity.EsStruct   `json:"es"`
	Mongo entity.Mongo      `json:"mongo"`
}
