types.go 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. }
  34. type CheckReq struct {
  35. UserId string `form:"userId"`
  36. AppId int64 `form:"appId"`
  37. }
  38. type ExpireReq struct {
  39. UserId string `form:"userId"`
  40. AppId int64 `form:"appId"`
  41. EndDate string `form:"endDate"`
  42. }
  43. type AddReq struct {
  44. UserId string `form:"userId"`
  45. AppId int64 `form:"appId"`
  46. PointType int64 `form:"pointType"`
  47. BusinessTypeId int64 `form:"businessTypeId"`
  48. BusinessType string `form:"businessType"`
  49. Point int64 `form:"point"`
  50. EndDate string `form:"endDate"`
  51. OperationType bool `form:"operationType"`
  52. }
  53. type AddResp struct {
  54. Code int64 `form:"code"`
  55. Message string `form:"message"`
  56. }
  57. type ConsumeReq struct {
  58. UserId string `form:"userId"`
  59. AppId int64 `form:"appId"`
  60. PointType int64 `form:"pointType"`
  61. BusinessTypeId int64 `form:"businessTypeId"`
  62. BusinessType string `form:"businessType"`
  63. Point int64 `form:"point"`
  64. EndDate string `form:"endDate"`
  65. }
  66. type ConsumeResp struct {
  67. Code int64 `form:"code"`
  68. Message string `form:"message"`
  69. }
  70. type GuardReq struct {
  71. EndDate string `form:"endDate"`
  72. }