From 726662cd89d0fe6b24461c850495db8c37a3e8f1 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 20 九月 2023 14:16:04 +0800 Subject: [PATCH] 作业类型路径修改 --- docs/docs.go | 324 ++++++++++++++++++++++++++++++------------------------ 1 files changed, 180 insertions(+), 144 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 9647266..03c8ea4 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -426,6 +426,150 @@ } } }, + "/api-wms/v1/operationType/operationType": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "浣滀笟绫诲瀷" + ], + "summary": "鏌ヨ浣滀笟绫诲瀷鍒楄〃", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/models.OperationType" + } + } + } + } + ] + } + } + } + }, + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "浣滀笟绫诲瀷" + ], + "summary": "娣诲姞浣滀笟绫诲瀷", + "parameters": [ + { + "description": "浣滀笟绫诲瀷淇℃伅", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddOperationType" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-wms/v1/operationType/operationType/{id}": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "浣滀笟绫诲瀷" + ], + "summary": "缂栬緫浣滀笟绫诲瀷", + "parameters": [ + { + "description": "浣滀笟绫诲瀷淇℃伅", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateOperationType" + } + }, + { + "type": "string", + "description": "浣滀笟绫诲瀷id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + }, + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "浣滀笟绫诲瀷" + ], + "summary": "鍒犻櫎浣滀笟绫诲瀷", + "parameters": [ + { + "type": "string", + "description": "浣滀笟绫诲瀷id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-wms/v1/product/addProduct": { "post": { "produces": [ @@ -760,150 +904,6 @@ "schema": { "$ref": "#/definitions/models.ProductCategory" } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/util.Response" - } - } - } - } - }, - "/api-wms/v1/warehouse/operationType": { - "get": { - "produces": [ - "application/json" - ], - "tags": [ - "浣滀笟绫诲瀷" - ], - "summary": "鏌ヨ浣滀笟绫诲瀷鍒楄〃", - "parameters": [ - { - "type": "string", - "name": "keyword", - "in": "query" - }, - { - "type": "integer", - "description": "椤电爜", - "name": "page", - "in": "query" - }, - { - "type": "integer", - "description": "姣忛〉澶у皬", - "name": "pageSize", - "in": "query" - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/util.ResponseList" - }, - { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/definitions/models.OperationType" - } - } - } - } - ] - } - } - } - }, - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "浣滀笟绫诲瀷" - ], - "summary": "娣诲姞浣滀笟绫诲瀷", - "parameters": [ - { - "description": "浣滀笟绫诲瀷淇℃伅", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.AddOperationType" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/util.Response" - } - } - } - } - }, - "/api-wms/v1/warehouse/operationType/{id}": { - "put": { - "produces": [ - "application/json" - ], - "tags": [ - "浣滀笟绫诲瀷" - ], - "summary": "缂栬緫浣滀笟绫诲瀷", - "parameters": [ - { - "description": "浣滀笟绫诲瀷淇℃伅", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.UpdateOperationType" - } - }, - { - "type": "string", - "description": "浣滀笟绫诲瀷id", - "name": "id", - "in": "path", - "required": true - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/util.Response" - } - } - } - }, - "delete": { - "produces": [ - "application/json" - ], - "tags": [ - "浣滀笟绫诲瀷" - ], - "summary": "鍒犻櫎浣滀笟绫诲瀷", - "parameters": [ - { - "type": "string", - "description": "浣滀笟绫诲瀷id", - "name": "id", - "in": "path", - "required": true } ], "responses": { @@ -1741,6 +1741,10 @@ "description": "鏄惁鍚敤锛屼紶true灏辫", "type": "boolean" }, + "address": { + "description": "鍦板潃", + "type": "string" + }, "buyToResupply": { "description": "鏄惁璐拱琛ョ粰锛屽凡璐拱浜у搧鑳藉鍙戦�佸埌姝や粨搴�", "type": "boolean" @@ -1763,9 +1767,17 @@ "id": { "type": "integer" }, + "inboundTransportation": { + "description": "鍏ュ悜杩愯緭", + "type": "integer" + }, "name": { "description": "浠撳簱鍚嶇О", "type": "string" + }, + "outboundTransportation": { + "description": "鍑哄簱杩愯緭", + "type": "integer" }, "partnerId": { "description": "鍚堜綔浼欎即id", @@ -1974,6 +1986,10 @@ "description": "鏄惁鍚敤锛屼紶true灏辫", "type": "boolean" }, + "address": { + "description": "鍦板潃", + "type": "string" + }, "buyToResupply": { "description": "璐拱琛ョ粰锛屽凡璐拱浜у搧鑳藉鍙戦�佸埌姝や粨搴�", "type": "boolean" @@ -1984,9 +2000,17 @@ "maxLength": 5, "minLength": 1 }, + "inboundTransportation": { + "description": "鍏ュ悜杩愯緭", + "type": "integer" + }, "name": { "description": "浠撳簱鍚嶇О", "type": "string" + }, + "outboundTransportation": { + "description": "鍑哄簱杩愯緭", + "type": "integer" }, "partnerId": { "description": "鍚堜綔浼欎即id", @@ -2228,6 +2252,10 @@ "description": "鏄惁鍚敤锛屼紶true灏辫", "type": "boolean" }, + "address": { + "description": "鍦板潃", + "type": "string" + }, "buyToResupply": { "description": "璐拱琛ョ粰锛屽凡璐拱浜у搧鑳藉鍙戦�佸埌姝や粨搴�", "type": "boolean" @@ -2241,10 +2269,18 @@ "id": { "type": "integer" }, + "inboundTransportation": { + "description": "鍏ュ悜杩愯緭", + "type": "integer" + }, "name": { "description": "浠撳簱鍚嶇О", "type": "string" }, + "outboundTransportation": { + "description": "鍑哄簱杩愯緭", + "type": "integer" + }, "partnerId": { "description": "鍚堜綔浼欎即id", "type": "integer" -- Gitblit v1.8.0