types.go 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type PubInfoReq struct {
  4. Title string `json:"title"`
  5. MsgType int64 `json:"msgType,options=1|2|3"`
  6. RelatedId string `json:"relatedId,optional"`
  7. Code string `json:"code,optional"`
  8. Province string `json:"province,optional"`
  9. City string `json:"city,optional"`
  10. Industry []string `json:"industry,optional"`
  11. Buyer string `json:"buyer,optional"`
  12. Budget string `json:"budget,optional"`
  13. Winner string `json:"winner,optional"`
  14. Amount string `json:"amount,optional"`
  15. Detail string `json:"detail"`
  16. Attach map[string]interface{} `json:"attach,optional"`
  17. Contact Contact `json:"contact"`
  18. AppId string `json:"appId"`
  19. EntId string `json:"entId"`
  20. UserId string `json:"userId"`
  21. ValidityTime string `json:"validityTime,optional"`
  22. Phone string `json:"phone"`
  23. EntName string `json:"entName,optional"`
  24. }
  25. type Contact struct {
  26. Person string `json:"person"`
  27. Phone string `json:"phone"`
  28. Overt int64 `json:"overt"`
  29. }
  30. type MyPublishListReq struct {
  31. UserId string `json:"userId"`
  32. AppId string `json:"appId"`
  33. Match string `json:"match,optional"`
  34. MsgType int64 `json:"msgType,optional"`
  35. ReviewStatus string `json:"reviewStatus,optional"`
  36. PageSize int `json:"pageSize,optional,default=10"`
  37. PageIndex int `json:"pageIndex,optional,default=1"`
  38. }
  39. type MyPublishCommonReq struct {
  40. MsgId string `json:"msgId"`
  41. UserId string `json:"userId"`
  42. Type int64 `json:"type"`
  43. MsgType int64 `json:"msgType,optional"`
  44. AppId string `json:"appId"`
  45. }
  46. type ReviewCommonReq struct {
  47. AppId string `json:"appId"`
  48. MsgId string `json:"msgId"`
  49. Type int64 `json:"type"`
  50. }
  51. type InfoListReq struct {
  52. AppId string `json:"appId"`
  53. MsgType int `json:"msgType,optional"`
  54. PhoneType int `json:"phoneType,optional"`
  55. Phone string `json:"phone,optional"`
  56. ReviewStatus int `json:"reviewStatus,optional"`
  57. ApplyStartTime string `json:"applyStartTime,optional"`
  58. ApplyEndTime string `json:"applyEndTime,optional"`
  59. PageSize int64 `json:"pageSize"`
  60. PageIndex int64 `json:"pageIndex"`
  61. IsDel string `json:"isDel,optional"`
  62. Published string `json:"published,optional"`
  63. }
  64. type InfoExamineReq struct {
  65. MsgId string `json:"msgId"`
  66. AppId string `json:"appId"`
  67. ReviewStatus int64 `json:"reviewStatus"`
  68. ReviewDetail string `json:"reviewDetail,optional"`
  69. MsgType int64 `json:"msgType"`
  70. }
  71. type AssProjecctReq struct {
  72. UserId string `json:"userId"`
  73. AppId string `json:"appId"`
  74. Match string `json:"match"`
  75. MsgType int64 `json:"msgType"`
  76. }
  77. type PubSupplyInfoReq struct {
  78. Keywords string `json:"keywords"`
  79. SearchType string `json:"searchType"`
  80. Province string `json:"province,optional"`
  81. City string `json:"city,optional"`
  82. Time string `json:"time,optional"`
  83. Status string `json:"status,optional"`
  84. PageSize int64 `json:"pageSize,optional"`
  85. PageIndex int64 `json:"pageIndex,optional"`
  86. }
  87. type SupplyInfoDetailReq struct {
  88. MsgId string `json:"msgId"`
  89. MsgType int64 `json:"msgType"`
  90. }
  91. type UploadReq struct {
  92. FileName string `json:"fileName,optional"`
  93. }
  94. type CommonReq struct {
  95. UserId string `json:"userId,optional"`
  96. EntId string `json:"entId,optional"`
  97. AppId string `json:"appId"`
  98. Match string `json:"match,optional"`
  99. MsgType int64 `json:"msgType,optional"`
  100. }
  101. type CommonRes struct {
  102. Err_code int `json:"err_code"`
  103. Err_msg string `json:"err_msg"`
  104. Data interface{} `json:"data"`
  105. }