1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- package config
- import (
- "bp.jydev.jianyu360.cn/CRM/application/entity"
- "github.com/zeromicro/go-zero/rest"
- "github.com/zeromicro/go-zero/zrpc"
- )
- type Config struct {
- rest.RestConf
- Gateway struct {
- ServerCode string
- Etcd []string
- }
- UserCenterRpc zrpc.RpcClientConf
- FileCenterRpc zrpc.RpcClientConf
- OssBucketName string
- OssUrl string
- BaseCenterRpc zrpc.RpcClientConf
- }
- type Db struct {
- Mysql entity.Mysql `json:"mysql"`
- Redis entity.RedisStuct `json:"redis"`
- Mongo entity.Mongo `json:"mongo"`
- Es entity.EsStruct `json:"es"`
- }
- type Push struct {
- TimeTaskSwitch bool
- StationMailHref string
- StationMailAction string
- TestId string
- SaleClue struct {
- Create Create
- Due Due
- }
- SaleChance struct {
- Create Create
- Due Due
- }
- Custom struct {
- Create Create
- Due Due
- }
- PushTime string
- DueDay int
- }
- type Create struct {
- Title string
- Content string
- PcHref string
- MobileHref string
- }
- type Due struct {
- Title string
- Content string
- PcHref string
- MobileHref string
- }
|