config.go 786 B

12345678910111213141516171819202122232425262728293031323334
  1. package config
  2. import (
  3. "bp.jydev.jianyu360.cn/BaseService/jyMicroservices/jyBXSubscribe/entity"
  4. "github.com/zeromicro/go-zero/zrpc"
  5. )
  6. type Config struct {
  7. zrpc.RpcServerConf
  8. Webrpcport int64
  9. DefaultDay int
  10. DefaulCount struct {
  11. Pay int
  12. Free int
  13. }
  14. CodeServiceConf zrpc.RpcClientConf
  15. UserCenterKey string
  16. PowerCheckCenterKey string
  17. EntManageApplication string
  18. AppUrl string
  19. Nsq string
  20. NsqTopic string
  21. Registedate int64
  22. GuideRegistedate int64 // 付费用户判断注册向导的时间
  23. SubListTip string
  24. }
  25. type Db struct {
  26. Mysql entity.Mysql `json:"mysql"`
  27. Redis entity.RedisStuct `json:"redis"`
  28. Es entity.EsStruct `json:"es"`
  29. Mongo entity.Mongo `json:"mongo"`
  30. }