From ff2c922341e85010588e1c76b5326bc773f4318f Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期五, 08 三月 2024 14:19:23 +0800 Subject: [PATCH] swag 修改 --- api/v1/purchase/purchase.go | 1 - docs/swagger.yaml | 6 ------ docs/docs.go | 9 --------- docs/swagger.json | 9 --------- 4 files changed, 0 insertions(+), 25 deletions(-) diff --git a/api/v1/purchase/purchase.go b/api/v1/purchase/purchase.go index ab3f0b5..3ceee93 100644 --- a/api/v1/purchase/purchase.go +++ b/api/v1/purchase/purchase.go @@ -338,7 +338,6 @@ // @Security ApiKeyAuth // @accept application/json // @Produce application/json -// @Param id path int true "閲囪喘鍗旾D" true "閲囪喘鍗旾D" // @Success 200 {object} response.Response{data=[]purchase_wms.SrmGetWarehouseInfoResponse} "鑾峰彇閲囪喘绫诲瀷鍒楄〃" // @Router /purchase/getWarehouseInfo [get] func (e *PurchaseApi) GetWarehouseInfo(c *gin.Context) { diff --git a/docs/docs.go b/docs/docs.go index 4fda355..bf06611 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1665,15 +1665,6 @@ "Purchase" ], "summary": "鑾峰彇浠撳簱鍒楄〃", - "parameters": [ - { - "type": "integer", - "description": "閲囪喘鍗旾D", - "name": "id", - "in": "path", - "required": true - } - ], "responses": { "200": { "description": "鑾峰彇閲囪喘绫诲瀷鍒楄〃", diff --git a/docs/swagger.json b/docs/swagger.json index 2a6474a..ceab31e 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1656,15 +1656,6 @@ "Purchase" ], "summary": "鑾峰彇浠撳簱鍒楄〃", - "parameters": [ - { - "type": "integer", - "description": "閲囪喘鍗旾D", - "name": "id", - "in": "path", - "required": true - } - ], "responses": { "200": { "description": "鑾峰彇閲囪喘绫诲瀷鍒楄〃", diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 75effca..8b827c8 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1994,12 +1994,6 @@ get: consumes: - application/json - parameters: - - description: 閲囪喘鍗旾D - in: path - name: id - required: true - type: integer produces: - application/json responses: -- Gitblit v1.8.0