types.go 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. }
  39. type MyPublishCommonReq struct {
  40. MsgId string `json:"msgId"`
  41. UserId string `json:"userId"`
  42. Type int64 `json:"type"` //处理信息类型:([前端用户:]0:获取发布信息详情(默认);1:删除发布的信息;)(()[管理后台:]1:管理后台一键敏感词过滤;1:管理后台一键发布)
  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 int64 `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. Auditor string `json:"auditor"`
  71. }
  72. type AssProjecctReq struct {
  73. UserId string `json:"userId"`
  74. AppId string `json:"appId"`
  75. Match string `json:"match"`
  76. MsgType int64 `json:"msgType"`
  77. }
  78. type PubSupplyInfoReq struct {
  79. Keywords string `json:"keywords"`
  80. SearchType string `json:"searchType"`
  81. Province string `json:"province,optional"`
  82. City string `json:"city,optional"`
  83. Time string `json:"time,optional"`
  84. Status string `json:"status,optional"`
  85. PageSize int64 `json:"pageSize,optional"`
  86. PageIndex int64 `json:"pageIndex,optional"`
  87. }
  88. type SupplyInfoDetailReq struct {
  89. MsgId string `json:"msgId"`
  90. MsgType int64 `json:"msgType"`
  91. }
  92. type UploadReq struct {
  93. FileName string `json:"fileName,optional"`
  94. }
  95. type InfoFileDelReq struct {
  96. FileName string `json:"fileName,optional"` //附件名称
  97. FileId string `json:"fileId,optional"` //附件key
  98. }
  99. type CommonReq struct {
  100. UserId string `json:"userId,optional"`
  101. EntId int64 `json:"entId,optional"`
  102. AppId string `json:"appId"`
  103. Match string `json:"match,optional"`
  104. MsgType int64 `json:"msgType,optional"`
  105. }
  106. type CommonRes struct {
  107. Err_code int `json:"error_code"`
  108. Err_msg string `json:"error_msg"`
  109. Data interface{} `json:"data"`
  110. }