client.card.go 794 B

123456789101112131415161718192021222324252627282930313233
  1. package models
  2. type ClientCardListRequest struct {
  3. OpenId string `json:"open_id"`
  4. PageSize int `json:"page_size"`
  5. PageIndex int `json:"page_index"`
  6. TypeList int `json:"type_list"` //1-未开始 2-进行中 3-已结束
  7. }
  8. type ClientCardRequest struct {
  9. ClientCardId int64 `json:"client_card_id"` //
  10. }
  11. type ClientCardQRRequest struct {
  12. MerchantCardId int64 `json:"merchant_card_id"` //
  13. }
  14. type ClientCardQRReply struct {
  15. AccessToken string `json:"access_token"`
  16. ExpiresIn int `json:"expires_in"`
  17. }
  18. type QRRequest struct {
  19. Page string `json:"page"`
  20. Scene string `json:"scene"`
  21. CheckPath bool `json:"check_path"`
  22. EnvVersion string `json:"env_version"`
  23. }
  24. type GetQRRequest struct {
  25. Errcode int `json:"errcode"`
  26. Errmsg string `json:"errmsg"`
  27. }