From ea02a2a9a8219d44b103f0a31cf9fc81ff8495e1 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期六, 23 九月 2023 16:57:48 +0800 Subject: [PATCH] 产品列表添加类型名称 --- docs/docs.go | 34 ++++++++++++++++++++++++---------- 1 files changed, 24 insertions(+), 10 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index bc7b478..bce2dc6 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" @@ -1626,8 +1618,20 @@ "description": "浣嶇疆鍚嶇О", "type": "string" }, + "nextCount": { + "description": "涓嬫鐩樼偣", + "type": "string" + }, + "notes": { + "description": "澶栭儴澶囨敞", + "type": "string" + }, "parentId": { "description": "涓婄骇id", + "type": "string" + }, + "recentlyCount": { + "description": "鏈�杩戠洏鐐�", "type": "string" }, "replenishLocation": { @@ -1635,7 +1639,7 @@ "type": "boolean" }, "type": { - "description": "浣嶇疆绫诲瀷", + "description": "Company Company ` + "`" + `json:\"company\" gorm:\"foreignKey:CompanyId\"` + "`" + ` //鍏徃", "allOf": [ { "$ref": "#/definitions/constvar.LocationType" @@ -1901,11 +1905,19 @@ "description": "榛樿婧愪綅缃甶d", "type": "integer" }, + "earlyOperations": { + "description": "棰勫~鍐欎綔涓氳鎯�", + "type": "boolean" + }, "id": { "type": "integer" }, "name": { "description": "浠撳簱鍚嶇О", + "type": "string" + }, + "prefix": { + "description": "鍓嶇紑", "type": "string" }, "printLabel": { @@ -2561,6 +2573,8 @@ Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, + LeftDelim: "{{", + RightDelim: "}}", } func init() { -- Gitblit v1.8.0