types.go 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type Contact struct {
  4. Person string `json:"person"`
  5. Phone string `json:"phone"`
  6. Overt int64 `json:"overt,optional"`
  7. }
  8. type AssProjecctReq struct {
  9. UserId string `header:"userId"`
  10. AppId string `header:"appId"`
  11. Match string `json:"match,optional"`
  12. MsgType int64 `json:"msgType,optional"`
  13. EntId int64 `header:"entId"`
  14. Type int64 `json:"type,optional"`
  15. }
  16. type CommonReq struct {
  17. UserId string `json:"userId,optional"`
  18. EntId int64 `json:"entId,optional"`
  19. AppId string `json:"appId"`
  20. Match string `json:"match,optional"`
  21. MsgType int64 `json:"msgType,optional"`
  22. }
  23. type CommonRes struct {
  24. Err_code int `json:"error_code"`
  25. Err_msg string `json:"error_msg"`
  26. Data interface{} `json:"data"`
  27. }
  28. type InfoExamineReq struct {
  29. MsgId string `json:"msgId"`
  30. AppId string `json:"appId"`
  31. ReviewStatus int64 `json:"reviewStatus"`
  32. ReviewDetail string `json:"reviewDetail,optional"`
  33. MsgType int64 `json:"msgType"`
  34. Auditor string `json:"auditor"`
  35. }
  36. type InfoFileDelReq struct {
  37. FileName string `json:"fileName,optional"` //附件名称
  38. FileId string `json:"fileId,optional"` //附件key
  39. }
  40. type InfoListReq struct {
  41. AppId string `json:"appId":"appId"`
  42. MsgType int `json:"msgType,optional"`
  43. PhoneType int `json:"phoneType,optional"`
  44. Phone string `json:"phone,optional"`
  45. ReviewStatus int `json:"reviewStatus,optional"`
  46. ApplyStartTime string `json:"applyStartTime,optional"`
  47. ApplyEndTime string `json:"applyEndTime,optional"`
  48. PageSize int64 `json:"pageSize"`
  49. PageIndex int64 `json:"pageIndex"`
  50. IsDel string `json:"isDel,optional"`
  51. Published int64 `json:"published,optional"`
  52. JyPublishingMedia int64 `json:"jyPublishingMedia,optional"` //1需要 -1 不需要
  53. RecommendedService int64 `json:"recommendedService,optional"` //1需要 -1 不需要
  54. }
  55. type MyPublishCommonReq struct {
  56. MsgId string `json:"msgId"`
  57. UserId string `header:"userId"`
  58. Type int64 `json:"type"` //处理信息类型:([前端用户:]0:获取发布信息详情(默认);1:删除发布的信息;)
  59. MsgType int64 `json:"msgType,optional"`
  60. AppId string `header:"appId"`
  61. }
  62. type MyPublishListReq struct {
  63. UserId string `header:"userId"`
  64. AppId string `header:"appId"`
  65. Match string `json:"match,optional"`
  66. MsgType int64 `json:"msgType,optional"`
  67. ReviewStatus string `json:"reviewStatus,optional"`
  68. PageSize int `json:"pageSize,optional,default=10"`
  69. PageIndex int `json:"pageIndex,optional,default=1"`
  70. EntId int64 `header:"entId"`
  71. Classify int64 `json:"classify,optional"`
  72. }
  73. type OneKeyActionReq struct {
  74. MsgId string `json:"msgId"` //信息id
  75. UserId string `json:"userId"` //管理员用户id
  76. Type int64 `json:"type"` //处理信息类型:(()[管理后台:]1:管理后台一键敏感词过滤;1:管理后台一键发布)
  77. MsgType int64 `json:"msgType,optional"` //信息类型1:招标信息;2:采购信息;3:供应信息
  78. AppId string `json:"appId"` //appid
  79. EntName string `json:"entName"` //企业名称
  80. }
  81. type PubInfoReq struct {
  82. Title string `json:"title"`
  83. MsgType int64 `json:"msgType"`
  84. RelatedId string `json:"relatedId,optional"`
  85. Code string `json:"code,optional"`
  86. Province string `json:"province,optional"`
  87. City string `json:"city,optional"`
  88. Industry []string `json:"industry,optional"`
  89. Buyer string `json:"buyer,optional"`
  90. Budget string `json:"budget,optional"`
  91. Winner string `json:"winner,optional"`
  92. Amount string `json:"amount,optional"`
  93. Detail string `json:"detail"`
  94. Attach map[string]interface{} `json:"attach,optional"`
  95. Contact struct {
  96. Person string `json:"person"`
  97. Phone string `json:"phone"`
  98. Overt int64 `json:"overt,optional"`
  99. } `json:"contact"`
  100. AppId string `header:"appId"`
  101. EntId int64 `header:"entId"`
  102. UserId string `header:"userId"`
  103. ValidityTime string `json:"validityTime,optional"`
  104. Phone string `header:"phone"`
  105. EntName string `header:"entName,optional"`
  106. JyPublishingMedia int64 `json:"jyPublishingMedia,optional"` //1需要 -1 不需要
  107. RecommendedService int64 `json:"recommendedService,optional"` //1需要 -1 不需要
  108. DeliveryAddress string `json:"deliveryAddress,optional"` //交付地址
  109. }
  110. type PubSupplyInfoReq struct {
  111. UserId string `header:"userId,optional"`
  112. Keywords string `json:"keywords"`
  113. SearchType string `json:"searchType"`
  114. Province string `json:"province,optional"`
  115. City string `json:"city,optional"`
  116. Time string `json:"time,optional"`
  117. Status string `json:"status,optional"`
  118. PageSize int64 `json:"pageSize,optional"`
  119. PageIndex int64 `json:"pageIndex,optional"`
  120. }
  121. type ReviewCommonReq struct {
  122. AppId string `header:"appId"`
  123. MsgId string `json:"msgId"`
  124. Type int64 `json:"type"`
  125. }
  126. type SupplyInfoDetailReq struct {
  127. MsgId string `json:"msgId"`
  128. MsgType int64 `json:"msgType"`
  129. }
  130. type UploadReq struct {
  131. FileName string `json:"fileName,optional"`
  132. }