| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/client/checkName": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Client" |
| | | ], |
| | | "summary": "检查客户名称是否重复", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.CheckClientName" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/client/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.CheckClientName": { |
| | | "type": "object", |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.Contact": { |
| | | "type": "object", |
| | | "properties": { |