types.go 2.2 KB

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