excel.go 580 B

123456789101112131415161718192021222324252627
  1. package model
  2. // ExcelPrize 表格中奖励配置
  3. type ExcelPrize struct {
  4. Name string // 奖励名
  5. IsFix string // 是否为固定奖励
  6. Num int64 // 奖励数量
  7. }
  8. type ExcelOptions struct {
  9. Type string `json:"type" form:"type"`
  10. Name string `json:"name" form:"name"`
  11. Params map[string]any `json:"params" form:"params"`
  12. }
  13. type TestExcel struct {
  14. Id int64
  15. LvMin int64
  16. LvMax int64
  17. }
  18. type TestExport struct {
  19. LevelId int64 `db:"levelId"`
  20. Name string `db:"name"`
  21. NameEn string `db:"name_en"`
  22. PictureId int64 `db:"pictureId"`
  23. }