智慧食堂
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_qrcode.go 744 B

1 year ago
12345678910111213141516171819202122232425262728293031
  1. package md
  2. const (
  3. QrcodeTotalNums = 100000
  4. )
  5. type QrcodeBatchListReq struct {
  6. Page int `json:"page"`
  7. Limit int `json:"limit"`
  8. }
  9. type QrcodeBatchAddReq struct {
  10. Name string `json:"name"`
  11. ExpireDate string `json:"expire_date"`
  12. List []QrcodeBatchAddReqList `json:"list"`
  13. Memo string `json:"memo"`
  14. }
  15. type QrcodeBatchAddReqList struct {
  16. Num int `json:"num"`
  17. Amount string `json:"amount"`
  18. }
  19. type QrcodeBatchAddReqListDetail struct {
  20. Num int `json:"num"`
  21. WaitUseNum int `json:"wait_use_num"`
  22. UsedNum int `json:"used_num"`
  23. ExpiredNum int `json:"expired_num"`
  24. CancelNum int `json:"cancel_num"`
  25. Amount string `json:"amount"`
  26. }