| | |
| | | "summary": "预览Contract", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "endCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "关键字", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.Industry" |
| | | "$ref": "#/definitions/request.IndustryList" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "file", |
| | | "type": "integer", |
| | | "name": "fileId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "file", |
| | | "type": "integer", |
| | | "name": "fileId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.SupplierType" |
| | | "$ref": "#/definitions/request.SupplierTypeList" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.IndustryList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "industries": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/test.Industry" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.InitDB": { |
| | | "type": "object", |
| | | "required": [ |
| | |
| | | }, |
| | | "status": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.SupplierTypeList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "supplierTypes": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/test.SupplierType" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | "email": { |
| | | "type": "string" |
| | | }, |
| | | "file": { |
| | | "type": "string" |
| | | "fileId": { |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |