types.go 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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 float64 `json:"budget,optional"`
  13. Winner string `json:"winner,optional"`
  14. Amount float64 `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 int64 `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. EntId int64 `json:"entId"`
  39. }
  40. type MyPublishCommonReq struct {
  41. MsgId string `json:"msgId"`
  42. UserId string `json:"userId"`
  43. Type int64 `json:"type"` //处理信息类型:([前端用户:]0:获取发布信息详情(默认);1:删除发布的信息;)(()[管理后台:]1:管理后台一键敏感词过滤;1:管理后台一键发布)
  44. MsgType int64 `json:"msgType,optional"`
  45. AppId string `json:"appId"`
  46. }
  47. type ReviewCommonReq struct {
  48. AppId string `json:"appId"`
  49. MsgId string `json:"msgId"`
  50. Type int64 `json:"type"`
  51. }
  52. type InfoListReq struct {
  53. AppId string `json:"appId"`
  54. MsgType int `json:"msgType,optional"`
  55. PhoneType int `json:"phoneType,optional"`
  56. Phone string `json:"phone,optional"`
  57. ReviewStatus int `json:"reviewStatus,optional"`
  58. ApplyStartTime string `json:"applyStartTime,optional"`
  59. ApplyEndTime string `json:"applyEndTime,optional"`
  60. PageSize int64 `json:"pageSize"`
  61. PageIndex int64 `json:"pageIndex"`
  62. IsDel string `json:"isDel,optional"`
  63. Published int64 `json:"published,optional"`
  64. }
  65. type InfoExamineReq struct {
  66. MsgId string `json:"msgId"`
  67. AppId string `json:"appId"`
  68. ReviewStatus int64 `json:"reviewStatus"`
  69. ReviewDetail string `json:"reviewDetail,optional"`
  70. MsgType int64 `json:"msgType"`
  71. Auditor string `json:"auditor"`
  72. }
  73. type AssProjecctReq struct {
  74. UserId string `json:"userId"`
  75. AppId string `json:"appId"`
  76. Match string `json:"match"`
  77. MsgType int64 `json:"msgType"`
  78. EntId int64 `json:"entId"`
  79. }
  80. type PubSupplyInfoReq struct {
  81. Keywords string `json:"keywords"`
  82. SearchType string `json:"searchType"`
  83. Province string `json:"province,optional"`
  84. City string `json:"city,optional"`
  85. Time string `json:"time,optional"`
  86. Status string `json:"status,optional"`
  87. PageSize int64 `json:"pageSize,optional"`
  88. PageIndex int64 `json:"pageIndex,optional"`
  89. }
  90. type SupplyInfoDetailReq struct {
  91. MsgId string `json:"msgId"`
  92. MsgType int64 `json:"msgType"`
  93. }
  94. type UploadReq struct {
  95. FileName string `json:"fileName,optional"`
  96. }
  97. type InfoFileDelReq struct {
  98. FileName string `json:"fileName,optional"` //附件名称
  99. FileId string `json:"fileId,optional"` //附件key
  100. }
  101. type CommonReq struct {
  102. UserId string `json:"userId,optional"`
  103. EntId int64 `json:"entId,optional"`
  104. AppId string `json:"appId"`
  105. Match string `json:"match,optional"`
  106. MsgType int64 `json:"msgType,optional"`
  107. }
  108. type CommonRes struct {
  109. Err_code int `json:"error_code"`
  110. Err_msg string `json:"error_msg"`
  111. Data interface{} `json:"data"`
  112. }