1234567891011121314151617181920212223242526272829303132 |
- 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
- Nsq string
- NsqTopic string
- Registedate int64
- }
- type Db struct {
- Mysql entity.Mysql `json:"mysql"`
- Redis entity.RedisStuct `json:"redis"`
- Es entity.EsStruct `json:"es"`
- Mongo entity.Mongo `json:"mongo"`
- }
|