types.go 2.2 KB

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