fans.go 806 B

1234567891011121314151617181920212223
  1. package model
  2. // FushConfig [...]
  3. type FansConfig struct {
  4. OpenChannel int64 `json:"open_channel" `
  5. OpenType int64 `json:"open_type"`
  6. ShowType []int64 `json:"showType"`
  7. MaxEveryDay int64 `json:"maxEveryDay"`
  8. MaxTotal int64 `json:"maxTotal"`
  9. ChannelsConfig map[string]FansChannelConfig `json:"channelsConfig"`
  10. }
  11. type FansChannelConfig struct {
  12. DirName string `json:"dirName"`
  13. BtnAction string `json:"btnAction"`
  14. Url string `json:"url"`
  15. Language FansLangConfig `json:"language"`
  16. }
  17. type FansLangConfig struct {
  18. TitleKey string `json:"titleKey"`
  19. ContentKey string `json:"contentKey"`
  20. ButtonKey string `json:"buttonKey"`
  21. }