12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- 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
- NextFollowUpTime int
- SocialPlatformRpc zrpc.RpcClientConf
- }
- type Db struct {
- Mysql entity.Mysql `json:"mysql"`
- 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
- MyselfPcHref string
- TransferPcHref string
- MobileHref string
- }
- type Due struct {
- Title string
- Content string
- PcHref string
- MobileHref string
- }
|