types.go 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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:删除发布的信息;)
  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. Type int64 `json:"type"`
  80. }
  81. type PubSupplyInfoReq struct {
  82. Keywords string `json:"keywords"`
  83. SearchType string `json:"searchType"`
  84. Province string `json:"province,optional"`
  85. City string `json:"city,optional"`
  86. Time string `json:"time,optional"`
  87. Status string `json:"status,optional"`
  88. PageSize int64 `json:"pageSize,optional"`
  89. PageIndex int64 `json:"pageIndex,optional"`
  90. }
  91. type SupplyInfoDetailReq struct {
  92. MsgId string `json:"msgId"`
  93. MsgType int64 `json:"msgType"`
  94. }
  95. type UploadReq struct {
  96. FileName string `json:"fileName,optional"`
  97. }
  98. type InfoFileDelReq struct {
  99. FileName string `json:"fileName,optional"` //附件名称
  100. FileId string `json:"fileId,optional"` //附件key
  101. }
  102. type CommonReq struct {
  103. UserId string `json:"userId,optional"`
  104. EntId int64 `json:"entId,optional"`
  105. AppId string `json:"appId"`
  106. Match string `json:"match,optional"`
  107. MsgType int64 `json:"msgType,optional"`
  108. }
  109. type CommonRes struct {
  110. Err_code int `json:"error_code"`
  111. Err_msg string `json:"error_msg"`
  112. Data interface{} `json:"data"`
  113. }
  114. type OneKeyActionReq struct {
  115. MsgId string `json:"msgId"` //信息id
  116. UserId string `json:"userId"` //管理员用户id
  117. Type int64 `json:"type"` //处理信息类型:(()[管理后台:]1:管理后台一键敏感词过滤;1:管理后台一键发布)
  118. MsgType int64 `json:"msgType,optional"` //信息类型1:招标信息;2:采购信息;3:供应信息
  119. AppId string `json:"appId"` //appid
  120. EntName string `json:"entName"` //企业名称
  121. }