types.go 5.3 KB

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