system_msg.go 586 B

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