广告平台(站长使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md_agent_qualification.go 5.2 KiB

1 month ago
2 weeks ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
4 weeks ago
1 month ago
4 weeks ago
1 month ago
4 weeks ago
1 month ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. package md
  2. var Country = []map[string]string{
  3. {
  4. "value": "1", "name": "中国/国内",
  5. },
  6. }
  7. var CurrencyConf = []map[string]string{
  8. {
  9. "value": "0", "name": "人民币",
  10. },
  11. }
  12. type AgentQualificationEnterpriseReq struct {
  13. Limit string `json:"limit"`
  14. Page string `json:"page" `
  15. Name string `json:"name"`
  16. State string `json:"state"`
  17. }
  18. type AgentQualificationEnterpriseAuditReq struct {
  19. AgentId string `json:"agent_id"`
  20. State string `json:"state"`
  21. Memo string `json:"memo"`
  22. }
  23. type AgentQualificationEnterpriseRes struct {
  24. List []AgentQualificationEnterpriseData `json:"list" `
  25. State []SelectData `json:"state" `
  26. Type []SelectData `json:"type" `
  27. Total int64 `json:"total"`
  28. }
  29. type AgentQualificationEnterpriseData struct {
  30. Id string `json:"id" example:"状态选择"`
  31. Uuid string `json:"uuid" example:"站长id"`
  32. AgentId string `json:"agent_id" example:"代理id"`
  33. Kind string `json:"kind" example:"类型(1:企业 2:个人)"`
  34. CertificateType string `json:"certificate_type" example:"证件类型 2级类目id"`
  35. CertificateFirstType string `json:"certificate_first_type" example:"证件类型 1级类目id"`
  36. CountryRegionId string `json:"country_region_id" example:"国家地区id"`
  37. RegisteredAddressCountryId string `json:"registered_address_country_id" example:"注册地址-国家id"`
  38. RegisteredAddressProvinceId string `json:"registered_address_province_id" example:"册地址-省份id"`
  39. RegisteredAddressCityId string `json:"registered_address_city_id" example:"注册地址-市id"`
  40. RegisteredAddressCountyId string `json:"registered_address_county_id" example:"注册地址-县/区id"`
  41. State string `json:"state" example:"状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"`
  42. CompanyName string `json:"company_name" example:"公司名称"`
  43. CompanyAbbreviation string `json:"company_abbreviation" example:"公司简称"`
  44. UnifiedSocialCreditCode string `json:"unified_social_credit_code" example:"统一社会信用代码"`
  45. BusinessLicenseImgUrl string `json:"business_license_img_url" example:"营业执照照片"`
  46. LegalRepresentative string `json:"legal_representative" example:"法定代表人"`
  47. CountryRegion string `json:"country_region" example:"国家地区"`
  48. RegisteredAddress string `json:"registered_address" example:"注册地址"`
  49. BusinessLicenseAddress string `json:"business_license_address" example:"营业执照地址"`
  50. CertificateValidity string `json:"certificate_validity" example:"证件有效期"`
  51. Memo string `json:"memo" example:"备注 审核时填写的"`
  52. Account string `json:"account" example:"账号"`
  53. }
  54. type AgentQualificationBankRes struct {
  55. State []SelectData `json:"state" `
  56. Type []SelectData `json:"type" `
  57. CurrencyConf []SelectData `json:"currency_conf"`
  58. List []AgentQualificationBankData `json:"list"`
  59. Total int64 `json:"total"`
  60. }
  61. type AgentQualificationBankData struct {
  62. AgentId string `json:"agent_id" example:"代理id"`
  63. Bank string `json:"bank" example:"开户银行"`
  64. BankBranch string `json:"bank_branch" example:"开户银行分行"`
  65. BankNo string `json:"bank_no" example:"银行卡号"`
  66. CompanyName string `json:"company_name" example:"公司名称"`
  67. CurrencyConf string `json:"currency_conf" example:"结算币种 0人民币"`
  68. Id string `json:"id" example:"id"`
  69. Kind string `json:"kind" example:"类型(1:企业 2:个人)"`
  70. Licence string `json:"licence" example:"开户许可证"`
  71. Memo string `json:"memo" example:"备注 审核时填写的"`
  72. State string `json:"state" example:"状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"`
  73. UnifiedSocialCreditCode string `json:"unified_social_credit_code" example:"统一社会信用代码"`
  74. Account string `json:"account" example:"账号"`
  75. }
  76. type AgentQualificationContactRes struct {
  77. State []SelectData `json:"state" `
  78. List []AgentQualificationContactData `json:"list"`
  79. Total int64 `json:"total"`
  80. }
  81. type AgentQualificationContactData struct {
  82. Address string `json:"address" example:"联系地址"`
  83. AgentId string `json:"agent_id" example:"代理id"`
  84. CompanyName string `json:"company_name" example:"公司名称"`
  85. Email string `json:"email" example:"邮箱地址"`
  86. Id string `json:"id" example:"id"`
  87. Kind string `json:"kind" example:"类型(1:企业 2:个人)"`
  88. Memo string `json:"memo" example:"备注 审核时填写的"`
  89. Name string `json:"name" example:"联系人"`
  90. Phone string `json:"phone" example:"联系电话"`
  91. State string `json:"state" example:"状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"`
  92. Account string `json:"account" example:"账号"`
  93. }