types.go 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type Response struct {
  4. Error_code int64 `json:"error_code"` //响应代码
  5. Error_msg string `json:"error_msg"` //响应消息
  6. Data string `json:"data"` //响应内容
  7. }
  8. type Resp struct {
  9. Error_code int64 `json:"error_code"` //响应代码
  10. Error_msg string `json:"error_msg"` //响应消息
  11. Data interface{} `json:"data"`
  12. }
  13. type ExamineReq struct {
  14. EntId string `form:"entId"` //企业id
  15. AuthType string `form:"authType"` //审核状态 2审核通过 3审核不通过
  16. Reason string `form:"reason,optional"` //不通过原因
  17. AuditUser string `form:"auditUser"` //审核人
  18. ExamineId string `form:"examineId"` //审核id 认证记录表主键id
  19. }
  20. type CheckEntReq struct {
  21. EntId int64 `form:"entId"` //企业id
  22. }
  23. type AuthEntReq struct {
  24. Name string `form:"name"`
  25. CreditCode string `form:"creditCode"`
  26. AreaNumber string `form:"areaNumber"`
  27. Business string `form:"business"`
  28. OfficialLetter string `form:"officialLetter"`
  29. OrganizationType string `form:"organizationType"` //机构类型 1投标企业 2招标采购单位 3厂商 4招标代理机构 5经销商 6服务提供商 7其他
  30. ComPanyType string `form:"comPanyType"` //机构性质 1企业 2党政机关事业单位及其他
  31. AuthName string `form:"authName"` //联系人姓名
  32. AuthPhone string `form:"authPhone"` //联系人手机号
  33. RegPhone string `form:"regPhone"` //注册手机号
  34. EntId string `form:"entId,optional"`
  35. }
  36. type EntListReq struct {
  37. Name string `form:"name,optional"` //企业名称
  38. PageNum string `form:"pageNum,optional"` //页码,不传默认第一页 第一页为0
  39. PageSize string `form:"pageSize,optional"`
  40. CreditCode string `form:"creditCode,optional"`
  41. CreateStartTime string `form:"createStartTime,optional"`
  42. CreateEndTime string `form:"createEndTime,optional"`
  43. AuthStatus string `form:"authStatus,optional"`
  44. ValidStartTime string `form:"validStartTime,optional"`
  45. ValidEndTime string `form:"validEndTime,optional"`
  46. FrozenStatus string `form:"frozenStatus,optional"`
  47. RegPhone string `form:"regPhone,optional"`
  48. AuthPhone string `form:"authPhone,optional"`
  49. }
  50. type EntListResp struct {
  51. Error_code int64 `json:"error_code"` //响应代码
  52. Error_msg string `json:"error_msg"` //响应消息
  53. Data EntListData `json:"data"`
  54. }
  55. type EntListData struct {
  56. Count int64 `json:"count"`
  57. PageSize int64 `json:"pageSize"`
  58. List []*EntList `json:"list"`
  59. }
  60. type EntList struct {
  61. Id int64 `json:"id"`
  62. ComPanyType int64 `json:"comPanyType"` // 机构性质 1企业 2党政机关事业单位及其他
  63. Name string `json:"name"` //机构名称
  64. OrganizationType int64 `json:"organizationType"` //机构类型 1企业 2党政机关事业单位及其他
  65. Createtime string `json:"createTime"` //创建时间
  66. ValidTime string `json:"validTime"` //有效截至日期
  67. AuthStatus int64 `json:"authStatus"` //认证状态
  68. FrozenStatus int64 `json:"frozenStatus"` //冻结状态 1正常 0冻结
  69. }
  70. type ExamineListReq struct {
  71. Name string `form:"name,optional"` //机构名称
  72. AuthPhone string `form:"authPhone,optional"` //联系人手机号
  73. RegPhone string `form:"regPhone,optional"` //注册人手机号
  74. AuthType string `form:"authType,optional"` //审核状态 1:待审核 2:审核通过 3:审核不通过
  75. AuthStartTime string `form:"authStartTime,optional"` //申请开始时间
  76. AuthEndTime string `form:"authEndTime,optional"` //申请结束时间
  77. PageNum string `form:"pageNum,optional"` //页码
  78. PageSize string `form:"pageSize,optional"` //每页展示条数
  79. }
  80. type ExamineListResp struct {
  81. Error_code int64 `json:"error_code"`
  82. Error_msg string `json:"error_msg"`
  83. Data ExamineListData `json:"data"`
  84. }
  85. type ExamineListData struct {
  86. Count int64 `json:"count"`
  87. PageSize int64 `json:"pageSize"`
  88. List []*ExamineList `json:"list"`
  89. }
  90. type ExamineList struct {
  91. Id int64 `json:"id"` //机构id
  92. EntId int64 `json:"entId"` //企业id
  93. ComPanyType int64 `json:"comPanyType"` // 机构性质 1企业 2党政机关事业单位及其他
  94. Name string `json:"name"` //机构名称
  95. CreditCode string `json:"creditCode"` //统一社会信用代码
  96. AuthPhone string `json:"authPhone"` //联系人手机号
  97. ApplyTime string `json:"applyTime"` //申请时间戳
  98. AuthType int64 `json:"authType"` //审核状态 1:待审核 2:审核通过 3:审核不通过
  99. }
  100. type EntInfoResp struct {
  101. Error_code int64 `json:"error_code"`
  102. Error_msg string `json:"error_msg"`
  103. Data *EntInfo `json:"data"`
  104. }
  105. type EntInfo struct {
  106. Name string `json:"name"`
  107. OrganizationType int64 `json:"organizationType"`
  108. CreditCode string `json:"creditCode"`
  109. CompanyType int64 `json:"companyType"`
  110. AreaNumber string `json:"areaNumber"`
  111. Business string `json:"business"`
  112. OfficialLetter string `json:"officialLetter"`
  113. AuthStartTime string `json:"createTime"`
  114. AuthEndTime string `json:"validTime"`
  115. ForzenStatus int64 `json:"forzenStatus"`
  116. AuthState int64 `json:"authStatus"`
  117. ContactPerson string `json:"contactPerson"`
  118. ContactPhone string `json:"contactPhone"`
  119. AuthType int64 `json:"authType"` //审核状态 1:待审核 2:审核通过 3:审核不通过
  120. }
  121. type ExamineInfoReq struct {
  122. ExamineId int64 `form:"examineId"`
  123. }
  124. type ExamineInfoResp struct {
  125. Error_code int64 `json:"error_code"`
  126. Error_msg string `json:"error_msg"`
  127. Data *ExamineInfo `json:"data"`
  128. }
  129. type ExamineInfo struct {
  130. Name string `json:"name"`
  131. OrganizationType int64 `json:"organizationType"`
  132. CreditCode string `json:"creditCode"`
  133. CompanyType int64 `json:"companyType"`
  134. AreaNumber string `json:"areaNumber"`
  135. Business string `json:"business"`
  136. OfficialLetter string `json:"officialLetter"`
  137. AuthState int64 `json:"authStatus"`
  138. ContactPerson string `json:"contactPerson"`
  139. ContactPhone string `json:"contactPhone"`
  140. RegPhone string `json:"regPhone"`
  141. AuthTime string `json:"authTime"`
  142. AuthReason string `json:"authReason"`
  143. AuditUser string `json:"auditUser"`
  144. }
  145. type UpdateEntReq struct {
  146. EntId int64 `form:"entId"` //企业id
  147. UpdateType int64 `form:"updateType"` //1-冻结 2-解冻
  148. }