From ad36440e187ed56da78f2085ba87e5e5a9bb9971 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期四, 24 八月 2023 17:54:24 +0800 Subject: [PATCH] add --- docs/docs.go | 272 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 272 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index c2510fa..74b8cfe 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -3253,6 +3253,266 @@ } } }, + "/st/createSupplierType": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SupplierType" + ], + "summary": "鍒涘缓SupplierType", + "parameters": [ + { + "description": "鍒涘缓SupplierType", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/test.SupplierType" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/st/deleteSupplierType": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SupplierType" + ], + "summary": "鍒犻櫎SupplierType", + "parameters": [ + { + "description": "鍒犻櫎SupplierType", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/test.SupplierType" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"鍒犻櫎鎴愬姛\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/st/deleteSupplierTypeByIds": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SupplierType" + ], + "summary": "鎵归噺鍒犻櫎SupplierType", + "parameters": [ + { + "description": "鎵归噺鍒犻櫎SupplierType", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.IdsReq" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"鎵归噺鍒犻櫎鎴愬姛\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/st/findSupplierType": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SupplierType" + ], + "summary": "鐢╥d鏌ヨSupplierType", + "parameters": [ + { + "type": "integer", + "description": "涓婚敭ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "name": "name", + "in": "query" + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"鏌ヨ鎴愬姛\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/st/getSupplierTypeList": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SupplierType" + ], + "summary": "鍒嗛〉鑾峰彇SupplierType鍒楄〃", + "parameters": [ + { + "type": "string", + "name": "endCreatedAt", + "in": "query" + }, + { + "type": "integer", + "description": "涓婚敭ID", + "name": "id", + "in": "query" + }, + { + "type": "string", + "description": "鍏抽敭瀛�", + "name": "keyword", + "in": "query" + }, + { + "type": "string", + "name": "name", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "type": "string", + "name": "startCreatedAt", + "in": "query" + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/st/updateSupplierType": { + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "SupplierType" + ], + "summary": "鏇存柊SupplierType", + "parameters": [ + { + "description": "鏇存柊SupplierType", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/test.SupplierType" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"鏇存柊鎴愬姛\"}", + "schema": { + "type": "string" + } + } + } + } + }, "/sysDictionary/createSysDictionary": { "post": { "security": [ @@ -7074,6 +7334,18 @@ "type": "string" } } + }, + "test.SupplierType": { + "type": "object", + "properties": { + "id": { + "description": "涓婚敭ID", + "type": "integer" + }, + "name": { + "type": "string" + } + } } }, "securityDefinitions": { -- Gitblit v1.8.0