suggestion.go 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. package v1
  2. import (
  3. "property-household-gateway/param/base"
  4. "property-household-gateway/pb/v1"
  5. )
  6. type SuggestionOrderAddBody struct {
  7. // 投诉类型 1 投诉 2 建议
  8. SuggestionType int32 `form:"suggestion_type" json:"suggestion_type"`
  9. // 投诉人
  10. ApplyPeople string `form:"apply_people" json:"apply_people"`
  11. // 投诉人电话
  12. ApplyPeoplePhone string `form:"apply_people_phone" json:"apply_people_phone"`
  13. // 投诉内容
  14. ApplyContent string `form:"apply_content" json:"apply_content"`
  15. // 投诉图片
  16. ApplyPic []string `form:"apply_pic" json:"apply_pic"`
  17. GardenId int64 `form:"garden_id" json:"garden_id"`
  18. }
  19. type SuggestionOrderAddRequest struct {
  20. base.Header
  21. SuggestionOrderAddBody
  22. }
  23. type SuggestionOrderAddResponse struct{
  24. base.Result
  25. Data v1.SuggestionOrderAddReply `json:"data"`
  26. }
  27. type SuggestionOrderUpdateBody struct {
  28. // 投诉类型 1 投诉 2 建议
  29. SuggestionType int32 `form:"suggestion_type" json:"suggestion_type"`
  30. // 投诉人
  31. ApplyPeople string `form:"apply_people" json:"apply_people"`
  32. // 投诉人电话
  33. ApplyPeoplePhone string `form:"apply_people_phone" json:"apply_people_phone"`
  34. // 投诉内容
  35. ApplyContent string `form:"apply_content" json:"apply_content"`
  36. // 投诉图片
  37. ApplyPic []string `form:"apply_pic" json:"apply_pic"`
  38. Id int64 `form:"id"`
  39. GardenId int64 `form:"garden_id" json:"garden_id"`
  40. }
  41. type SuggestionOrderUpdateRequest struct{
  42. base.Header
  43. SuggestionOrderUpdateBody
  44. }
  45. type SuggestionOrderUpdateResponse struct{
  46. base.Result
  47. }
  48. type SuggestionOrderDelQuery struct {
  49. Id int64 `form:"id"`
  50. GardenId int64 `form:"garden_id" json:"garden_id"`
  51. }
  52. type SuggestionOrderDelRequest struct{
  53. base.Header
  54. SuggestionOrderDelQuery
  55. }
  56. type SuggestionOrderDelResponse struct{
  57. base.Result
  58. }
  59. type SuggestionOrderListQuery struct {
  60. Page int64 `form:"page" json:"page"`
  61. PageSize int64 `form:"page_size" json:"page_size"`
  62. Status int32 `form:"status" json:"status"`
  63. ApplyPeople string `form:"apply_people" json:"apply_people"`
  64. ApplyPeoplePhone string `form:"apply_people_phone" json:"apply_people_phone"`
  65. GardenId int64 `form:"garden_id" json:"garden_id"`
  66. SuggestionType int32 `form:"suggestion_type" json:"suggestion_type"`
  67. }
  68. type SuggestionOrderListRequest struct{
  69. base.Header
  70. SuggestionOrderListQuery
  71. }
  72. type SuggestionOrderListResponse struct{
  73. base.Result
  74. Data v1.SuggestionOrderListReply `json:"data"`
  75. }
  76. type SuggestionOrderInfoQuery struct {
  77. Id int64 `form:"id"`
  78. GardenId int64 `form:"garden_id" json:"garden_id"`
  79. }
  80. type SuggestionOrderInfoRequest struct{
  81. base.Header
  82. SuggestionOrderInfoQuery
  83. }
  84. type SuggestionOrderInfoResponse struct{
  85. base.Result
  86. Data v1.SuggestionOrderInfoReply `json:"data"`
  87. }
  88. type SuggestionOrderReturnVisitBody struct {
  89. Id int64 `form:"id" json:"id"`
  90. // 1 满意 2 不满意
  91. ReturnVisitLevel int32 `form:"return_visit_level" json:"return_visit_level"`
  92. // 回访内容
  93. ReturnVisitContent string `form:"return_visit_content" json:"return_visit_content"`
  94. GardenId int64 `form:"garden_id" json:"garden_id"`
  95. }
  96. type SuggestionOrderReturnVisitRequest struct{
  97. base.Header
  98. SuggestionOrderReturnVisitBody
  99. }
  100. type SuggestionOrderReturnVisitResponse struct{
  101. base.Result
  102. }