| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/quotation/statistics": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Quotation" |
| | | ], |
| | | "summary": "报价单统计", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "object", |
| | | "additionalProperties": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/quotation/update": { |
| | | "put": { |
| | | "produces": [ |
| | |
| | | "model.Quotation": { |
| | | "type": "object", |
| | | "properties": { |
| | | "amountTotal": { |
| | | "description": "价格合计", |
| | | "type": "number" |
| | | }, |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |