From cdbdde21488beb0cca5527c94b5321f04a915e11 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 02 七月 2024 14:43:16 +0800 Subject: [PATCH] update doc --- docs/swagger.yaml | 62 ++++++++++++++++++++++++++++++ 1 files changed, 61 insertions(+), 1 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 253cd0b..8285221 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1272,6 +1272,66 @@ description: 搴撳瓨浣嶇疆 type: string type: object + models.WarehouseMonthStats: + properties: + amount: + description: 鏈熸湯缁撲綑鏁伴噺 + type: number + beginAmount: + description: 鏈熷垵鏁伴噺 + type: number + createTime: + type: string + date: + description: 鏃ユ湡 2024-04 + type: string + id: + type: integer + inputAmount: + description: 鍏ュ簱鏁伴噺 + type: number + inputItems: + description: 鍏ュ簱鏄庣粏 + items: + $ref: '#/definitions/models.WarehouseStatsItems' + type: array + outputAmount: + description: 鍑哄簱鏁伴噺 + type: number + outputItems: + description: 鍑哄簱鏄庣粏 + items: + $ref: '#/definitions/models.WarehouseStatsItems' + type: array + productId: + description: 浜у搧id + type: string + productName: + description: 浜у搧鍚嶇О + type: string + salePrice: + description: 閿�鍞崟浠� + type: number + unit: + description: 鍗曚綅 + type: string + updateTime: + type: string + warehouseId: + description: 浠撳簱ID + type: integer + type: object + models.WarehouseStatsItems: + properties: + amount: + description: 鏁伴噺 + type: number + name: + description: 鍏ュ簱鏉ユ簮锛屽嚭搴撳幓澶� + type: string + warehouseMonthStatsId: + type: integer + type: object request.AddAttribute: properties: dataType: @@ -3149,7 +3209,7 @@ - properties: data: items: - $ref: '#/definitions/models.MonthStats' + $ref: '#/definitions/models.WarehouseMonthStats' type: array type: object summary: 浠撳簱鏈堝害缁熻搴撳瓨鎶ヨ〃 -- Gitblit v1.8.0