蛋蛋星球 后台端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md_basic.go 1.1 KiB

3 weeks ago
123456789101112131415161718192021222324252627282930313233
  1. package md
  2. type EggPointCoefficientNode struct {
  3. Id int `json:"id"`
  4. StartScore string `json:"start_score"` // 起始分值
  5. EndScore string `json:"end_score"` // 截止分值
  6. Coefficient string `json:"coefficient"` // 系数
  7. }
  8. type EggPointCoefficientGetResp struct {
  9. List []EggPointCoefficientNode `json:"list"`
  10. }
  11. type EggPointCoefficientBatchAddNode struct {
  12. StartScore string `json:"start_score"` // 起始分值
  13. EndScore string `json:"end_score"` // 截止分值
  14. Coefficient string `json:"coefficient"` // 系数
  15. }
  16. type EggPointCoefficientBatchAddReq struct {
  17. List []EggPointCoefficientNode `json:"list"` // 系数管理列表
  18. }
  19. type EggPointCoefficientDelReq struct {
  20. Id string `json:"id" binding:"required"` // 需要删除范围的id
  21. }
  22. type EggPointCoefficientUpdateReq struct {
  23. Id string `json:"id" binding:"required"` // 需要修改范围的id
  24. StartScore string `json:"start_score"` // 起始分值
  25. EndScore string `json:"end_score"` // 截止分值
  26. Coefficient string `json:"coefficient"` // 系数
  27. }