1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- 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
- ResourceCenterKey string
- }
- type Db struct {
- Mysql entity.Mysql `json:"mysql"`
- Mongo entity.Mongo `json:"mongo"`
- Es entity.EsStruct `json:"es"`
- Clickhouse *CHouseConfig
- }
- type CHouseConfig struct {
- Addr string
- UserName string
- Password string
- DbName string
- MaxIdleConns int
- MaxOpenConns int
- }
- 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
- MySelfContent string
- TransferContent string
- MyselfPcHref string
- TransferPcHref string
- MobileHref string
- }
- type Due struct {
- Title string
- Content string
- PcHref string
- MobileHref string
- }
|