types.go 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type PubInfoReq struct {
  4. Title string `form:"title"`
  5. MsgType string `form:"msgType,options=1|2|3"`
  6. RelatedId string `form:"relatedId,optional"`
  7. Code string `form:"code,optional"`
  8. Province string `form:"province,optional"`
  9. City string `form:"city,optional"`
  10. Industry []string `form:"industry,optional"`
  11. Buyer string `form:"buyer,optional"`
  12. Budget string `form:"budget,optional"`
  13. Winner string `form:"winner,optional"`
  14. Amount string `form:"amount,optional"`
  15. Detail string `form:"detail"`
  16. Attach map[string]interface{} `form:"attach,optional"`
  17. ContactPerson string `form:"contactPerson"`
  18. ContactPhone string `form:"contactPhone"`
  19. ContactOvert int64 `form:"contactOvert"`
  20. AppId int64 `form:"appId"`
  21. EntId string `form:"entId"`
  22. UserId string `form:"userId"`
  23. ValidityTime string `form:"validityTime,optional"`
  24. Phone string `form:"phone"`
  25. EntName string `form:"entName,optional"`
  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 `form:"userId"`
  34. AppId int64 `form:"appId"`
  35. Match string `form:"match,optional"`
  36. MsgType string `form:"msgType,optional"`
  37. ReviewStatus string `form:"reviewStatus,optional"`
  38. PageSize int `form:"pageSize,optional,default=10"`
  39. PageIndex int `form:"pageIndex,optional,default=1"`
  40. }
  41. type MyPublishCommonReq struct {
  42. MsgId string `form:"msgId"`
  43. UserId string `form:"userId"`
  44. Type string `form:"type"`
  45. MsgType string `form:"msgType,optional"`
  46. AppId int64 `form:"appId"`
  47. }
  48. type ReviewCommonReq struct {
  49. AppId int64 `form:"appId"`
  50. MsgId string `form:"msgId"`
  51. Type int64 `form:"type"`
  52. }
  53. type InfoListReq struct {
  54. AppId int64 `form:"appId"`
  55. MsgType int `form:"msgType,optional"`
  56. PhoneType int `form:"phoneType,optional"`
  57. Phone string `form:"phone,optional"`
  58. ReviewStatus int `form:"reviewStatus,optional"`
  59. ApplyStartTime string `form:"applyStartTime,optional"`
  60. ApplyEndTime string `form:"applyEndTime,optional"`
  61. PageSize int64 `form:"pageSize"`
  62. PageIndex int64 `form:"pageIndex"`
  63. IsDel string `form:"isDel,optional"`
  64. Published string `form:"published,optional"`
  65. }
  66. type InfoExamineReq struct {
  67. MsgId string `form:"msgId"`
  68. AppId int64 `form:"appId"`
  69. ReviewStatus int64 `form:"reviewStatus"`
  70. ReviewDetail string `form:"reviewDetail,optional"`
  71. MsgType int64 `form:"msgType"`
  72. }
  73. type AssProjecctReq struct {
  74. UserId string `json:"userId"`
  75. AppId int64 `json:"appId"`
  76. Match string `json:"match"`
  77. MsgType string `json:"msgType"`
  78. }
  79. type PubSupplyInfoReq struct {
  80. Keywords string `form:"keywords"`
  81. SearchType string `form:"searchType"`
  82. Province string `form:"province,optional"`
  83. City string `form:"city,optional"`
  84. Time string `form:"time,optional"`
  85. Status string `form:"status,optional"`
  86. PageSize int64 `form:"pageSize,optional"`
  87. PageIndex int64 `form:"pageIndex,optional"`
  88. }
  89. type SupplyInfoDetailReq struct {
  90. MsgId string `form:"msgId"`
  91. MsgType int64 `form:"msgType"`
  92. }
  93. type UploadReq struct {
  94. FileName string `form:"fileName,optional"`
  95. }
  96. type CommonReq struct {
  97. UserId string `form:"userId,optional"`
  98. EntId string `form:"entId,optional"`
  99. AppId int64 `form:"appId"`
  100. Match string `form:"match,optional"`
  101. MsgType string `form:"msgType,optional"`
  102. }
  103. type CommonRes struct {
  104. Err_code int `json:"err_code"`
  105. Err_msg string `json:"err_msg"`
  106. Data interface{} `json:"data"`
  107. }