act_special_notice.go 690 B

12345678910111213141516171819202122232425
  1. package model
  2. // SpecialNoticeRepoConf 特殊公告
  3. type SpecialNoticeRepoConf struct {
  4. Device string `json:"device"`
  5. Conf map[string]SpecialNoticeStageConf `json:"conf"`
  6. }
  7. // SpecialNoticeStageConf 特殊公告语言配置
  8. type SpecialNoticeStageConf struct {
  9. Title string `json:"title"`
  10. Content string `json:"content"`
  11. }
  12. // SpecialNoticeShowConf 特殊公告 后台展示
  13. type SpecialNoticeShowConf struct {
  14. Device string `json:"device"`
  15. Conf []SpecialNoticeStageShow `json:"conf"`
  16. }
  17. // SpecialNoticeStageShow 特殊公告语言展示配置
  18. type SpecialNoticeStageShow struct {
  19. En string `json:"en"`
  20. SpecialNoticeStageConf
  21. }