From 61f1ad8d1fe79ada641a650609d275e2a5d0e0fb Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 12 九月 2023 19:36:20 +0800 Subject: [PATCH] 更改单词名字 --- docs/docs.go | 86 +++++++++++++++++++++--------------------- 1 files changed, 43 insertions(+), 43 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 5efc844..2922b77 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -294,7 +294,7 @@ } } }, - "/api-wms/v1/warehouse/jobType": { + "/api-wms/v1/warehouse/operationType": { "get": { "produces": [ "application/json" @@ -336,7 +336,7 @@ "data": { "type": "array", "items": { - "$ref": "#/definitions/models.JobType" + "$ref": "#/definitions/models.OperationType" } } } @@ -361,7 +361,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.AddJobType" + "$ref": "#/definitions/request.AddOperationType" } } ], @@ -375,7 +375,7 @@ } } }, - "/api-wms/v1/warehouse/jobType/{id}": { + "/api-wms/v1/warehouse/operationType/{id}": { "put": { "produces": [ "application/json" @@ -391,7 +391,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.UpdateJobType" + "$ref": "#/definitions/request.UpdateOperationType" } }, { @@ -584,7 +584,7 @@ } }, "definitions": { - "constvar.BaseJobType": { + "constvar.BaseOperationType": { "type": "integer", "enum": [ 1, @@ -592,14 +592,14 @@ 3 ], "x-enum-comments": { - "BaseJobTypeIncoming": "鏀惰揣", - "BaseJobTypeInternal": "鍐呴儴璋冩嫧", - "BaseJobTypeOutgoing": "浜よ揣" + "BaseOperationTypeIncoming": "鏀惰揣", + "BaseOperationTypeInternal": "鍐呴儴璋冩嫧", + "BaseOperationTypeOutgoing": "浜よ揣" }, "x-enum-varnames": [ - "BaseJobTypeIncoming", - "BaseJobTypeOutgoing", - "BaseJobTypeInternal" + "BaseOperationTypeIncoming", + "BaseOperationTypeOutgoing", + "BaseOperationTypeInternal" ] }, "constvar.ReservationMethod": { @@ -694,18 +694,36 @@ } } }, - "models.JobType": { + "models.Location": { + "type": "object", + "properties": { + "createTime": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "浣嶇疆鍚嶇О", + "type": "string" + }, + "updateTime": { + "type": "string" + } + } + }, + "models.OperationType": { "type": "object", "properties": { "ReservationDaysBeforePriority": { "description": "鍦ㄤ紭鍏堢骇鐨勫墠鍑犲ぉ", "type": "integer" }, - "baseJobType": { + "baseOperationType": { "description": "鍩虹浣滀笟绫诲瀷", "allOf": [ { - "$ref": "#/definitions/constvar.BaseJobType" + "$ref": "#/definitions/constvar.BaseOperationType" } ] }, @@ -779,11 +797,11 @@ } ] }, - "returnJobType": { + "returnOperationType": { "description": "閫�璐х被鍨嬪悕绉�", "type": "string" }, - "returnJobTypeID": { + "returnOperationTypeID": { "description": "閫�璐х被鍨婭D", "type": "integer" }, @@ -805,24 +823,6 @@ "warehouseId": { "description": "浠撳簱id", "type": "integer" - } - } - }, - "models.Location": { - "type": "object", - "properties": { - "createTime": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "name": { - "description": "浣嶇疆鍚嶇О", - "type": "string" - }, - "updateTime": { - "type": "string" } } }, @@ -915,18 +915,18 @@ } } }, - "request.AddJobType": { + "request.AddOperationType": { "type": "object", "properties": { "ReservationDaysBeforePriority": { "description": "鍦ㄤ紭鍏堢骇鐨勫墠鍑犲ぉ", "type": "integer" }, - "baseJobType": { + "baseOperationType": { "description": "鍩虹浣滀笟绫诲瀷", "allOf": [ { - "$ref": "#/definitions/constvar.BaseJobType" + "$ref": "#/definitions/constvar.BaseOperationType" } ] }, @@ -973,7 +973,7 @@ } ] }, - "returnJobTypeID": { + "returnOperationTypeID": { "description": "閫�璐х被鍨婭D", "type": "integer" }, @@ -1060,18 +1060,18 @@ } } }, - "request.UpdateJobType": { + "request.UpdateOperationType": { "type": "object", "properties": { "ReservationDaysBeforePriority": { "description": "鍦ㄤ紭鍏堢骇鐨勫墠鍑犲ぉ", "type": "integer" }, - "baseJobType": { + "baseOperationType": { "description": "鍩虹浣滀笟绫诲瀷", "allOf": [ { - "$ref": "#/definitions/constvar.BaseJobType" + "$ref": "#/definitions/constvar.BaseOperationType" } ] }, @@ -1118,7 +1118,7 @@ } ] }, - "returnJobTypeID": { + "returnOperationTypeID": { "description": "閫�璐х被鍨婭D", "type": "integer" }, -- Gitblit v1.8.0