From 2b3b678a0e0156e68415aa287fdf85d05583a5b4 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期四, 21 九月 2023 15:10:08 +0800 Subject: [PATCH] 1.修改出入库列表显示异常的问题 --- docs/docs.go | 12 ++---------- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index bc7b478..0e06838 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -565,7 +565,7 @@ } }, "/api-wms/v1/operation/operation/{id}": { - "post": { + "put": { "produces": [ "application/json" ], @@ -1584,14 +1584,6 @@ "models.Location": { "type": "object", "properties": { - "company": { - "description": "鍏徃", - "allOf": [ - { - "$ref": "#/definitions/models.Company" - } - ] - }, "companyId": { "description": "鍏徃id", "type": "integer" @@ -1635,7 +1627,7 @@ "type": "boolean" }, "type": { - "description": "浣嶇疆绫诲瀷", + "description": "Company Company ` + "`" + `json:\"company\" gorm:\"foreignKey:CompanyId\"` + "`" + ` //鍏徃", "allOf": [ { "$ref": "#/definitions/constvar.LocationType" -- Gitblit v1.8.0