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 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. }
  34. type CheckReq struct {
  35. UserId string `form:"userId"`
  36. AppId string `form:"appId"`
  37. }
  38. type ExpireReq struct {
  39. UserId string `form:"userId"`
  40. AppId string `form:"appId"`
  41. EndDate string `form:"endDate"`
  42. }
  43. type AddReq struct {
  44. UserId string `form:"userId"`
  45. AppId string `form:"appId"`
  46. PointType int64 `form:"pointType"`
  47. SourceId string `form:"sourceId,optional"`
  48. SourceType string `form:"sourceType,optional"`
  49. Point int64 `form:"point,range=[0:100000000]"`
  50. EndDate string `form:"endDate,optional"`
  51. OperationType bool `form:"operationType"`
  52. Abstract string `form:"abstract,optional"`
  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 string `form:"appId"`
  61. PointType int64 `form:"pointType"`
  62. SourceId string `form:"sourceId,optional"`
  63. SourceType string `form:"sourceType,optional"`
  64. Point int64 `form:"point,range=[0:100000000]"`
  65. EndDate string `form:"endDate,optional"`
  66. Abstract string `form:"abstract,optional"`
  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. }