system_msg.go 752 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package v1
  2. import (
  3. "property-applete-gateway/param/base"
  4. "property-applete-gateway/pb/v1"
  5. )
  6. type SystemMsgCountRequest struct {
  7. base.Header
  8. }
  9. type SystemMsgCountResponse struct {
  10. base.Result
  11. Data v1.SystemMsgCountReply `json:"data"`
  12. }
  13. type SystemMsgListQuery struct {
  14. Page int64 `form:"page" json:"page"`
  15. PageSize int64 `form:"page_size" json:"page_size"`
  16. }
  17. type SystemMsgListRequest struct {
  18. base.Header
  19. SystemMsgListQuery
  20. }
  21. type SystemMsgListResponse struct {
  22. base.Result
  23. Data v1.SystemMsgListReply `json:"data"`
  24. }
  25. type SystemMsgReadedBody struct {
  26. Id int64 `form:"id"`
  27. }
  28. type SystemMsgReadedRequest struct {
  29. base.Header
  30. SystemMsgReadedBody
  31. }
  32. type SystemMsgReadedResponse struct {
  33. base.Result
  34. }