page_pic.go 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package v1
  2. import (
  3. "xingjia-official-gateway/apis"
  4. "xingjia-official-gateway/param/base"
  5. )
  6. type PagePicAddBody struct {
  7. Pic string `form:"pic" json:"pic"`
  8. }
  9. type PagePicAddRequest struct {
  10. //base.Header
  11. PagePicAddBody
  12. }
  13. type PagePicAddResponse struct {
  14. base.Result
  15. }
  16. type PagePicUpdateBody struct {
  17. Pic string `form:"pic" json:"pic"`
  18. Id int64 `form:"id" json:"id"`
  19. }
  20. type PagePicUpdateRequest struct {
  21. //base.Header
  22. PagePicUpdateBody
  23. }
  24. type PagePicUpdateResponse struct {
  25. base.Result
  26. }
  27. type PagePicDelQuery struct {
  28. Id int64 `form:"id" json:"id"`
  29. }
  30. type PagePicDelRequest struct {
  31. //base.Header
  32. PagePicDelQuery
  33. }
  34. type PagePicDelResponse struct {
  35. base.Result
  36. }
  37. type PagePicListQuery struct {
  38. Page int64 `form:"page" json:"page"`
  39. PageSize int64 `form:"page_size" json:"page_size"`
  40. }
  41. type PagePicListRequest struct {
  42. //base.Header
  43. PagePicListQuery
  44. }
  45. type PagePicListResponse struct {
  46. base.Result
  47. Data apis.PagePicListReply `json:"data"`
  48. }
  49. /*
  50. type PagePicPublishRequest struct {
  51. SelfId int64 `json:"self_id"`
  52. SelfName string `json:"self_name"`
  53. Id int64 `json:"id"`
  54. PublishStatus int32 `json:"publish_status"`
  55. }
  56. type PagePicPublishReply struct {
  57. }
  58. */