types.go 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. Name string `form:"name"`
  26. }
  27. type Response struct {
  28. Code int64 `form:"code"`
  29. Message string `form:"message"`
  30. Data int64 `form:"data"`
  31. Expire int64 `form:"expire"`
  32. }
  33. type CheckReq struct {
  34. UserId string `form:"userId"`
  35. AppId string `form:"appId"`
  36. }
  37. type ExpireReq struct {
  38. UserId string `form:"userId"`
  39. AppId string `form:"appId"`
  40. EndDate string `form:"endDate"`
  41. }
  42. type AddReq struct {
  43. UserId string `form:"userId"`
  44. AppId string `form:"appId"`
  45. PointType int64 `form:"pointType"`
  46. SourceId string `form:"sourceId"`
  47. SourceType string `form:"sourceType"`
  48. Point int64 `form:"point"`
  49. EndDate string `form:"endDate"`
  50. OperationType bool `form:"operationType"`
  51. }
  52. type AddResp struct {
  53. Code int64 `form:"code"`
  54. Message string `form:"message"`
  55. }
  56. type ConsumeReq struct {
  57. UserId string `form:"userId"`
  58. AppId string `form:"appId"`
  59. PointType int64 `form:"pointType"`
  60. SourceId string `form:"sourceId"`
  61. SourceType string `form:"sourceType"`
  62. Point int64 `form:"point"`
  63. EndDate string `form:"endDate"`
  64. }
  65. type ConsumeResp struct {
  66. Code int64 `form:"code"`
  67. Message string `form:"message"`
  68. }
  69. type GuardReq struct {
  70. EndDate string `form:"endDate"`
  71. }