config.go 815 B

1234567891011121314151617181920212223242526272829303132333435
  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. OssUrl string
  25. }
  26. type Db struct {
  27. Mysql entity.Mysql `json:"mysql"`
  28. Redis entity.RedisStuct `json:"redis"`
  29. Es entity.EsStruct `json:"es"`
  30. Mongo entity.Mongo `json:"mongo"`
  31. }