From 2234e8fa97e85e1e69a6f970416602f283e09df6 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期日, 07 四月 2024 21:57:28 +0800 Subject: [PATCH] 解决联调问题,增加纤度检验相关接口 --- docs/docs.go | 172 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 169 insertions(+), 3 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 0b5baf6..9332540 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -16,6 +16,153 @@ "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { + "/api-jl/v1/fineness/check": { + "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.FinenessRegister" + } + } + } + } + ] + } + } + } + }, + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "绾ゅ害妫�楠�" + ], + "summary": "绾ゅ害妫�楠屼慨鏀�", + "parameters": [ + { + "description": "瀛楀吀淇℃伅", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddFinenessRegister" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-jl/v1/fineness/check/{id}": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "绾ゅ害妫�楠�" + ], + "summary": "绾ゅ害妫�楠岃鎯�", + "parameters": [ + { + "type": "string", + "description": "瀛楀吀淇℃伅", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/models.FinenessRegister" + } + } + } + ] + } + } + } + }, + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "绾ゅ害妫�楠�" + ], + "summary": "绾ゅ害妫�楠屽垹闄�", + "parameters": [ + { + "type": "string", + "description": "瀛楀吀淇℃伅", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-jl/v1/fineness/register": { "get": { "produces": [ @@ -26,6 +173,11 @@ ], "summary": "绾ゅ害鐧昏鍒楄〃", "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, { "type": "integer", "description": "椤电爜", @@ -80,6 +232,13 @@ "schema": { "$ref": "#/definitions/request.AddFinenessRegister" } + }, + { + "type": "string", + "description": "token", + "name": "Authorization", + "in": "header", + "required": true } ], "responses": { @@ -588,6 +747,13 @@ "schema": { "$ref": "#/definitions/models.WorkshopManage" } + }, + { + "type": "string", + "description": "token", + "name": "Authorization", + "in": "header", + "required": true } ], "responses": { @@ -610,7 +776,7 @@ 3 ], "x-enum-comments": { - "AllCar": "鍏ㄨ溅", + "AllCar": "鍏ㄨ溅缁撴潫", "LeftHalfCar": "宸﹀崐杞�", "RightHalfCar": "鍙冲崐杞�" }, @@ -807,7 +973,7 @@ }, "workshopGroup": { "description": "杞︾粍", - "type": "string" + "type": "integer" } } }, @@ -955,7 +1121,7 @@ }, "workshopGroup": { "description": "杞︾粍", - "type": "string" + "type": "integer" } } }, -- Gitblit v1.8.0