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 string `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. PointType int64 `form:"pointType"`
  19. SourceId string `form:"sourceId"`
  20. SourceType string `form:"sourceType"`
  21. Point int64 `form:"point"`
  22. CreateTime string `form:"createTime"`
  23. EndDate string `form:"endDate"`
  24. Sort int64 `form:"sort"`
  25. Abstract string `form:"abstract"`
  26. Name string `form:"name"`
  27. }
  28. type Response struct {
  29. Code int64 `form:"code"`
  30. Message string `form:"message"`
  31. Data int64 `form:"data"`
  32. Expire int64 `form:"expire"`
  33. SerialNumber string `form:"serialNumber"`
  34. }
  35. type CheckReq struct {
  36. UserId string `form:"userId"`
  37. AppId string `form:"appId"`
  38. }
  39. type ExpireReq struct {
  40. UserId string `form:"userId"`
  41. AppId string `form:"appId"`
  42. EndDate string `form:"endDate"`
  43. }
  44. type AddReq struct {
  45. UserId string `form:"userId"`
  46. AppId string `form:"appId"`
  47. PointType int64 `form:"pointType"`
  48. SourceId string `form:"sourceId,optional"`
  49. SourceType string `form:"sourceType,optional"`
  50. Point int64 `form:"point,range=[0:100000000]"`
  51. EndDate string `form:"endDate,optional"`
  52. OperationType bool `form:"operationType"`
  53. Abstract string `form:"abstract,optional"`
  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 string `form:"appId"`
  62. PointType int64 `form:"pointType"`
  63. SourceId string `form:"sourceId,optional"`
  64. SourceType string `form:"sourceType,optional"`
  65. Point int64 `form:"point,range=[0:100000000]"`
  66. EndDate string `form:"endDate,optional"`
  67. Abstract string `form:"abstract,optional"`
  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. }