@@ -65,6 +65,100 @@ const docTemplate = `{ | |||||
} | } | ||||
} | } | ||||
}, | }, | ||||
"/api/qualification/bank/save": { | |||||
"post": { | |||||
"description": "资质认证-银行资质保存", | |||||
"consumes": [ | |||||
"application/json" | |||||
], | |||||
"produces": [ | |||||
"application/json" | |||||
], | |||||
"tags": [ | |||||
"资质认证------嘉俊" | |||||
], | |||||
"summary": "银行资质保存", | |||||
"parameters": [ | |||||
{ | |||||
"type": "string", | |||||
"description": "验证参数Bearer和token空格拼接", | |||||
"name": "Authorization", | |||||
"in": "header", | |||||
"required": true | |||||
}, | |||||
{ | |||||
"description": "请求参数", | |||||
"name": "args", | |||||
"in": "body", | |||||
"required": true, | |||||
"schema": { | |||||
"$ref": "#/definitions/md.AgentBankInfo" | |||||
} | |||||
} | |||||
], | |||||
"responses": { | |||||
"200": { | |||||
"description": "具体看返回内容", | |||||
"schema": { | |||||
"type": "string" | |||||
} | |||||
}, | |||||
"400": { | |||||
"description": "具体错误", | |||||
"schema": { | |||||
"$ref": "#/definitions/md.Response" | |||||
} | |||||
} | |||||
} | |||||
} | |||||
}, | |||||
"/api/qualification/contact/save": { | |||||
"post": { | |||||
"description": "资质认证-联系方式保存", | |||||
"consumes": [ | |||||
"application/json" | |||||
], | |||||
"produces": [ | |||||
"application/json" | |||||
], | |||||
"tags": [ | |||||
"资质认证------嘉俊" | |||||
], | |||||
"summary": "联系方式保存", | |||||
"parameters": [ | |||||
{ | |||||
"type": "string", | |||||
"description": "验证参数Bearer和token空格拼接", | |||||
"name": "Authorization", | |||||
"in": "header", | |||||
"required": true | |||||
}, | |||||
{ | |||||
"description": "请求参数", | |||||
"name": "args", | |||||
"in": "body", | |||||
"required": true, | |||||
"schema": { | |||||
"$ref": "#/definitions/md.AgentContactInfo" | |||||
} | |||||
} | |||||
], | |||||
"responses": { | |||||
"200": { | |||||
"description": "具体看返回内容", | |||||
"schema": { | |||||
"type": "string" | |||||
} | |||||
}, | |||||
"400": { | |||||
"description": "具体错误", | |||||
"schema": { | |||||
"$ref": "#/definitions/md.Response" | |||||
} | |||||
} | |||||
} | |||||
} | |||||
}, | |||||
"/api/qualification/enterprise/save": { | "/api/qualification/enterprise/save": { | ||||
"post": { | "post": { | ||||
"description": "资质认证-企业认证保存", | "description": "资质认证-企业认证保存", | ||||
@@ -75,7 +169,7 @@ const docTemplate = `{ | |||||
"application/json" | "application/json" | ||||
], | ], | ||||
"tags": [ | "tags": [ | ||||
"资质认证" | |||||
"资质认证------嘉俊" | |||||
], | ], | ||||
"summary": "企业认证保存", | "summary": "企业认证保存", | ||||
"parameters": [ | "parameters": [ | ||||
@@ -122,7 +216,7 @@ const docTemplate = `{ | |||||
"application/json" | "application/json" | ||||
], | ], | ||||
"tags": [ | "tags": [ | ||||
"资质认证" | |||||
"资质认证------嘉俊" | |||||
], | ], | ||||
"summary": "基本信息", | "summary": "基本信息", | ||||
"parameters": [ | "parameters": [ | ||||
@@ -160,7 +254,7 @@ const docTemplate = `{ | |||||
"application/json" | "application/json" | ||||
], | ], | ||||
"tags": [ | "tags": [ | ||||
"资质认证" | |||||
"资质认证------嘉俊" | |||||
], | ], | ||||
"summary": "认证下拉框选择内容", | "summary": "认证下拉框选择内容", | ||||
"parameters": [ | "parameters": [ | ||||
@@ -829,6 +923,73 @@ const docTemplate = `{ | |||||
} | } | ||||
} | } | ||||
}, | }, | ||||
"md.AgentBankInfo": { | |||||
"type": "object", | |||||
"properties": { | |||||
"agent_id": { | |||||
"type": "integer" | |||||
}, | |||||
"bank": { | |||||
"type": "string" | |||||
}, | |||||
"bank_branch": { | |||||
"type": "string" | |||||
}, | |||||
"bank_no": { | |||||
"type": "string" | |||||
}, | |||||
"currency_conf": { | |||||
"type": "integer" | |||||
}, | |||||
"id": { | |||||
"type": "integer" | |||||
}, | |||||
"licence": { | |||||
"type": "string" | |||||
}, | |||||
"memo": { | |||||
"type": "string" | |||||
}, | |||||
"state": { | |||||
"type": "integer" | |||||
}, | |||||
"uuid": { | |||||
"type": "integer" | |||||
} | |||||
} | |||||
}, | |||||
"md.AgentContactInfo": { | |||||
"type": "object", | |||||
"properties": { | |||||
"address": { | |||||
"type": "string" | |||||
}, | |||||
"agent_id": { | |||||
"type": "integer" | |||||
}, | |||||
"email": { | |||||
"type": "string" | |||||
}, | |||||
"id": { | |||||
"type": "integer" | |||||
}, | |||||
"memo": { | |||||
"type": "string" | |||||
}, | |||||
"name": { | |||||
"type": "string" | |||||
}, | |||||
"phone": { | |||||
"type": "string" | |||||
}, | |||||
"state": { | |||||
"type": "integer" | |||||
}, | |||||
"uuid": { | |||||
"type": "integer" | |||||
} | |||||
} | |||||
}, | |||||
"md.AgentList": { | "md.AgentList": { | ||||
"type": "object", | "type": "object", | ||||
"properties": { | "properties": { | ||||
@@ -862,9 +1023,6 @@ const docTemplate = `{ | |||||
"country_region_id": { | "country_region_id": { | ||||
"type": "integer" | "type": "integer" | ||||
}, | }, | ||||
"create_at": { | |||||
"type": "string" | |||||
}, | |||||
"id": { | "id": { | ||||
"type": "integer" | "type": "integer" | ||||
}, | }, | ||||
@@ -898,9 +1056,6 @@ const docTemplate = `{ | |||||
"unified_social_credit_code": { | "unified_social_credit_code": { | ||||
"type": "string" | "type": "string" | ||||
}, | }, | ||||
"update_at": { | |||||
"type": "string" | |||||
}, | |||||
"uuid": { | "uuid": { | ||||
"type": "integer" | "type": "integer" | ||||
} | } | ||||
@@ -57,6 +57,100 @@ | |||||
} | } | ||||
} | } | ||||
}, | }, | ||||
"/api/qualification/bank/save": { | |||||
"post": { | |||||
"description": "资质认证-银行资质保存", | |||||
"consumes": [ | |||||
"application/json" | |||||
], | |||||
"produces": [ | |||||
"application/json" | |||||
], | |||||
"tags": [ | |||||
"资质认证------嘉俊" | |||||
], | |||||
"summary": "银行资质保存", | |||||
"parameters": [ | |||||
{ | |||||
"type": "string", | |||||
"description": "验证参数Bearer和token空格拼接", | |||||
"name": "Authorization", | |||||
"in": "header", | |||||
"required": true | |||||
}, | |||||
{ | |||||
"description": "请求参数", | |||||
"name": "args", | |||||
"in": "body", | |||||
"required": true, | |||||
"schema": { | |||||
"$ref": "#/definitions/md.AgentBankInfo" | |||||
} | |||||
} | |||||
], | |||||
"responses": { | |||||
"200": { | |||||
"description": "具体看返回内容", | |||||
"schema": { | |||||
"type": "string" | |||||
} | |||||
}, | |||||
"400": { | |||||
"description": "具体错误", | |||||
"schema": { | |||||
"$ref": "#/definitions/md.Response" | |||||
} | |||||
} | |||||
} | |||||
} | |||||
}, | |||||
"/api/qualification/contact/save": { | |||||
"post": { | |||||
"description": "资质认证-联系方式保存", | |||||
"consumes": [ | |||||
"application/json" | |||||
], | |||||
"produces": [ | |||||
"application/json" | |||||
], | |||||
"tags": [ | |||||
"资质认证------嘉俊" | |||||
], | |||||
"summary": "联系方式保存", | |||||
"parameters": [ | |||||
{ | |||||
"type": "string", | |||||
"description": "验证参数Bearer和token空格拼接", | |||||
"name": "Authorization", | |||||
"in": "header", | |||||
"required": true | |||||
}, | |||||
{ | |||||
"description": "请求参数", | |||||
"name": "args", | |||||
"in": "body", | |||||
"required": true, | |||||
"schema": { | |||||
"$ref": "#/definitions/md.AgentContactInfo" | |||||
} | |||||
} | |||||
], | |||||
"responses": { | |||||
"200": { | |||||
"description": "具体看返回内容", | |||||
"schema": { | |||||
"type": "string" | |||||
} | |||||
}, | |||||
"400": { | |||||
"description": "具体错误", | |||||
"schema": { | |||||
"$ref": "#/definitions/md.Response" | |||||
} | |||||
} | |||||
} | |||||
} | |||||
}, | |||||
"/api/qualification/enterprise/save": { | "/api/qualification/enterprise/save": { | ||||
"post": { | "post": { | ||||
"description": "资质认证-企业认证保存", | "description": "资质认证-企业认证保存", | ||||
@@ -67,7 +161,7 @@ | |||||
"application/json" | "application/json" | ||||
], | ], | ||||
"tags": [ | "tags": [ | ||||
"资质认证" | |||||
"资质认证------嘉俊" | |||||
], | ], | ||||
"summary": "企业认证保存", | "summary": "企业认证保存", | ||||
"parameters": [ | "parameters": [ | ||||
@@ -114,7 +208,7 @@ | |||||
"application/json" | "application/json" | ||||
], | ], | ||||
"tags": [ | "tags": [ | ||||
"资质认证" | |||||
"资质认证------嘉俊" | |||||
], | ], | ||||
"summary": "基本信息", | "summary": "基本信息", | ||||
"parameters": [ | "parameters": [ | ||||
@@ -152,7 +246,7 @@ | |||||
"application/json" | "application/json" | ||||
], | ], | ||||
"tags": [ | "tags": [ | ||||
"资质认证" | |||||
"资质认证------嘉俊" | |||||
], | ], | ||||
"summary": "认证下拉框选择内容", | "summary": "认证下拉框选择内容", | ||||
"parameters": [ | "parameters": [ | ||||
@@ -821,6 +915,73 @@ | |||||
} | } | ||||
} | } | ||||
}, | }, | ||||
"md.AgentBankInfo": { | |||||
"type": "object", | |||||
"properties": { | |||||
"agent_id": { | |||||
"type": "integer" | |||||
}, | |||||
"bank": { | |||||
"type": "string" | |||||
}, | |||||
"bank_branch": { | |||||
"type": "string" | |||||
}, | |||||
"bank_no": { | |||||
"type": "string" | |||||
}, | |||||
"currency_conf": { | |||||
"type": "integer" | |||||
}, | |||||
"id": { | |||||
"type": "integer" | |||||
}, | |||||
"licence": { | |||||
"type": "string" | |||||
}, | |||||
"memo": { | |||||
"type": "string" | |||||
}, | |||||
"state": { | |||||
"type": "integer" | |||||
}, | |||||
"uuid": { | |||||
"type": "integer" | |||||
} | |||||
} | |||||
}, | |||||
"md.AgentContactInfo": { | |||||
"type": "object", | |||||
"properties": { | |||||
"address": { | |||||
"type": "string" | |||||
}, | |||||
"agent_id": { | |||||
"type": "integer" | |||||
}, | |||||
"email": { | |||||
"type": "string" | |||||
}, | |||||
"id": { | |||||
"type": "integer" | |||||
}, | |||||
"memo": { | |||||
"type": "string" | |||||
}, | |||||
"name": { | |||||
"type": "string" | |||||
}, | |||||
"phone": { | |||||
"type": "string" | |||||
}, | |||||
"state": { | |||||
"type": "integer" | |||||
}, | |||||
"uuid": { | |||||
"type": "integer" | |||||
} | |||||
} | |||||
}, | |||||
"md.AgentList": { | "md.AgentList": { | ||||
"type": "object", | "type": "object", | ||||
"properties": { | "properties": { | ||||
@@ -854,9 +1015,6 @@ | |||||
"country_region_id": { | "country_region_id": { | ||||
"type": "integer" | "type": "integer" | ||||
}, | }, | ||||
"create_at": { | |||||
"type": "string" | |||||
}, | |||||
"id": { | "id": { | ||||
"type": "integer" | "type": "integer" | ||||
}, | }, | ||||
@@ -890,9 +1048,6 @@ | |||||
"unified_social_credit_code": { | "unified_social_credit_code": { | ||||
"type": "string" | "type": "string" | ||||
}, | }, | ||||
"update_at": { | |||||
"type": "string" | |||||
}, | |||||
"uuid": { | "uuid": { | ||||
"type": "integer" | "type": "integer" | ||||
} | } | ||||
@@ -32,6 +32,50 @@ definitions: | |||||
username: | username: | ||||
type: string | type: string | ||||
type: object | type: object | ||||
md.AgentBankInfo: | |||||
properties: | |||||
agent_id: | |||||
type: integer | |||||
bank: | |||||
type: string | |||||
bank_branch: | |||||
type: string | |||||
bank_no: | |||||
type: string | |||||
currency_conf: | |||||
type: integer | |||||
id: | |||||
type: integer | |||||
licence: | |||||
type: string | |||||
memo: | |||||
type: string | |||||
state: | |||||
type: integer | |||||
uuid: | |||||
type: integer | |||||
type: object | |||||
md.AgentContactInfo: | |||||
properties: | |||||
address: | |||||
type: string | |||||
agent_id: | |||||
type: integer | |||||
email: | |||||
type: string | |||||
id: | |||||
type: integer | |||||
memo: | |||||
type: string | |||||
name: | |||||
type: string | |||||
phone: | |||||
type: string | |||||
state: | |||||
type: integer | |||||
uuid: | |||||
type: integer | |||||
type: object | |||||
md.AgentList: | md.AgentList: | ||||
properties: | properties: | ||||
agent_id: | agent_id: | ||||
@@ -54,8 +98,6 @@ definitions: | |||||
type: string | type: string | ||||
country_region_id: | country_region_id: | ||||
type: integer | type: integer | ||||
create_at: | |||||
type: string | |||||
id: | id: | ||||
type: integer | type: integer | ||||
kind: | kind: | ||||
@@ -78,8 +120,6 @@ definitions: | |||||
type: integer | type: integer | ||||
unified_social_credit_code: | unified_social_credit_code: | ||||
type: string | type: string | ||||
update_at: | |||||
type: string | |||||
uuid: | uuid: | ||||
type: integer | type: integer | ||||
type: object | type: object | ||||
@@ -224,6 +264,68 @@ paths: | |||||
summary: 登陆 | summary: 登陆 | ||||
tags: | tags: | ||||
- ADMIN | - ADMIN | ||||
/api/qualification/bank/save: | |||||
post: | |||||
consumes: | |||||
- application/json | |||||
description: 资质认证-银行资质保存 | |||||
parameters: | |||||
- description: 验证参数Bearer和token空格拼接 | |||||
in: header | |||||
name: Authorization | |||||
required: true | |||||
type: string | |||||
- description: 请求参数 | |||||
in: body | |||||
name: args | |||||
required: true | |||||
schema: | |||||
$ref: '#/definitions/md.AgentBankInfo' | |||||
produces: | |||||
- application/json | |||||
responses: | |||||
"200": | |||||
description: 具体看返回内容 | |||||
schema: | |||||
type: string | |||||
"400": | |||||
description: 具体错误 | |||||
schema: | |||||
$ref: '#/definitions/md.Response' | |||||
summary: 银行资质保存 | |||||
tags: | |||||
- 资质认证------嘉俊 | |||||
/api/qualification/contact/save: | |||||
post: | |||||
consumes: | |||||
- application/json | |||||
description: 资质认证-联系方式保存 | |||||
parameters: | |||||
- description: 验证参数Bearer和token空格拼接 | |||||
in: header | |||||
name: Authorization | |||||
required: true | |||||
type: string | |||||
- description: 请求参数 | |||||
in: body | |||||
name: args | |||||
required: true | |||||
schema: | |||||
$ref: '#/definitions/md.AgentContactInfo' | |||||
produces: | |||||
- application/json | |||||
responses: | |||||
"200": | |||||
description: 具体看返回内容 | |||||
schema: | |||||
type: string | |||||
"400": | |||||
description: 具体错误 | |||||
schema: | |||||
$ref: '#/definitions/md.Response' | |||||
summary: 联系方式保存 | |||||
tags: | |||||
- 资质认证------嘉俊 | |||||
/api/qualification/enterprise/save: | /api/qualification/enterprise/save: | ||||
post: | post: | ||||
consumes: | consumes: | ||||
@@ -254,7 +356,7 @@ paths: | |||||
$ref: '#/definitions/md.Response' | $ref: '#/definitions/md.Response' | ||||
summary: 企业认证保存 | summary: 企业认证保存 | ||||
tags: | tags: | ||||
- 资质认证 | |||||
- 资质认证------嘉俊 | |||||
/api/qualification/info: | /api/qualification/info: | ||||
get: | get: | ||||
consumes: | consumes: | ||||
@@ -279,7 +381,7 @@ paths: | |||||
$ref: '#/definitions/md.Response' | $ref: '#/definitions/md.Response' | ||||
summary: 基本信息 | summary: 基本信息 | ||||
tags: | tags: | ||||
- 资质认证 | |||||
- 资质认证------嘉俊 | |||||
/api/qualification/select/base: | /api/qualification/select/base: | ||||
get: | get: | ||||
consumes: | consumes: | ||||
@@ -304,7 +406,7 @@ paths: | |||||
$ref: '#/definitions/md.Response' | $ref: '#/definitions/md.Response' | ||||
summary: 认证下拉框选择内容 | summary: 认证下拉框选择内容 | ||||
tags: | tags: | ||||
- 资质认证 | |||||
- 资质认证------嘉俊 | |||||
/api/role/addAdmin: | /api/role/addAdmin: | ||||
post: | post: | ||||
consumes: | consumes: | ||||