package config

import (
	"jyBXSubscribe/entity"

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

type Config struct {
	zrpc.RpcServerConf
	Webrpcport  int64
	DefaultDay  int
	DefaulCount struct {
		Pay  int
		Free int
	}
	CodeServiceConf      zrpc.RpcClientConf
	UserCenterKey        string
	PowerCheckCenterKey  string
	EntManageApplication string
	AppUrl               string
}

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