types.go 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type DetailedReq struct {
  4. UserId string `form:"userId"`
  5. AppId int64 `form:"appId"`
  6. SearchType int64 `form:"searchType"`
  7. Page int64 `form:"page"`
  8. PageSize int64 `form:"pageSize"`
  9. }
  10. type RespList struct {
  11. Code int64 `form:"code"`
  12. Message string `form:"message"`
  13. Count int64 `form:"count"`
  14. Data []*Point `form:"data"`
  15. }
  16. type Point struct {
  17. Id int64 `form:"id"`
  18. UserId string `form:"userId"`
  19. PointType int64 `form:"pointType"`
  20. BusinessTypeId int64 `form:"businessTypeId"`
  21. BusinessType string `form:"businessType"`
  22. Point int64 `form:"point"`
  23. CreateTime string `form:"createTime"`
  24. EndDate string `form:"endDate"`
  25. AppId int64 `form:"appId"`
  26. Sort int64 `form:"sort"`
  27. Name string `form:"name"`
  28. }
  29. type Response struct {
  30. Code int64 `form:"code"`
  31. Message string `form:"message"`
  32. Data int64 `form:"data"`
  33. Expire int64 `form:"expire"`
  34. }
  35. type CheckReq struct {
  36. UserId string `form:"userId"`
  37. AppId int64 `form:"appId"`
  38. }
  39. type ExpireReq struct {
  40. UserId string `form:"userId"`
  41. AppId int64 `form:"appId"`
  42. EndDate string `form:"endDate"`
  43. }
  44. type AddReq struct {
  45. UserId string `form:"userId"`
  46. AppId int64 `form:"appId"`
  47. PointType int64 `form:"pointType"`
  48. BusinessTypeId int64 `form:"businessTypeId"`
  49. BusinessType string `form:"businessType"`
  50. Point int64 `form:"point"`
  51. EndDate string `form:"endDate"`
  52. OperationType bool `form:"operationType"`
  53. }
  54. type AddResp struct {
  55. Code int64 `form:"code"`
  56. Message string `form:"message"`
  57. }
  58. type ConsumeReq struct {
  59. UserId string `form:"userId"`
  60. AppId int64 `form:"appId"`
  61. PointType int64 `form:"pointType"`
  62. BusinessTypeId int64 `form:"businessTypeId"`
  63. BusinessType string `form:"businessType"`
  64. Point int64 `form:"point"`
  65. EndDate string `form:"endDate"`
  66. }
  67. type ConsumeResp struct {
  68. Code int64 `form:"code"`
  69. Message string `form:"message"`
  70. }
  71. type GuardReq struct {
  72. EndDate string `form:"endDate"`
  73. }