extend.go 503 B

123456789101112131415161718192021222324252627
  1. package conf
  2. var ExtConfig Extend
  3. // Extend 扩展配置
  4. //
  5. // extend:
  6. // demo:
  7. // name: demo-name
  8. //
  9. // 使用方法: config.ExtConfig......即可!!
  10. type Extend struct {
  11. Service Service `yaml:"service"`
  12. SubMail SubMail `yaml:"subMail"`
  13. }
  14. type Service struct {
  15. Id int `yaml:"id"`
  16. Number string `yaml:"number"`
  17. AuthCode string `yaml:"authCode"`
  18. Name string `yaml:"name"`
  19. }
  20. type SubMail struct {
  21. Appid string `json:"appid"`
  22. Signature string `json:"signature"`
  23. }