From 0873199876ca5289125d8356d6a5bbc05f37dc5e Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 29 二月 2024 11:42:59 +0800 Subject: [PATCH] 删除无用代码 --- docs/docs.go | 217 ------------------------------------------------------ 1 files changed, 0 insertions(+), 217 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index fc40334..540b80a 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -171,140 +171,6 @@ } } } - }, - "/api-s/v1/organize/department": { - "get": { - "produces": [ - "application/json" - ], - "tags": [ - "閮ㄩ棬淇℃伅" - ], - "summary": "鏌ヨ閮ㄩ棬淇℃伅鍒楄〃", - "parameters": [ - { - "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.Department" - } - } - } - } - ] - } - } - } - }, - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "閮ㄩ棬淇℃伅" - ], - "summary": "娣诲姞閮ㄩ棬淇℃伅", - "parameters": [ - { - "description": "閮ㄩ棬淇℃伅淇℃伅", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.AddDepartment" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/util.Response" - } - } - } - } - }, - "/api-s/v1/organize/department/{id}": { - "put": { - "produces": [ - "application/json" - ], - "tags": [ - "閮ㄩ棬淇℃伅" - ], - "summary": "缂栬緫閮ㄩ棬淇℃伅", - "parameters": [ - { - "description": "閮ㄩ棬淇℃伅淇℃伅", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.UpdateDepartment" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/util.Response" - } - } - } - }, - "delete": { - "produces": [ - "application/json" - ], - "tags": [ - "閮ㄩ棬淇℃伅" - ], - "summary": "缂栬緫閮ㄩ棬淇℃伅", - "parameters": [ - { - "description": "閮ㄩ棬淇℃伅淇℃伅", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.UpdateDepartment" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/util.Response" - } - } - } - } } }, "definitions": { @@ -338,44 +204,6 @@ "valid": { "description": "Valid is true if Time is not NULL", "type": "boolean" - } - } - }, - "models.Department": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "$ref": "#/definitions/models.Department" - } - }, - "head": { - "description": "閮ㄩ棬璐熻矗浜�", - "type": "string" - }, - "id": { - "type": "integer" - }, - "name": { - "description": "閮ㄩ棬鍚嶇О", - "type": "string" - }, - "number": { - "description": "閮ㄩ棬缂栧彿", - "type": "string" - }, - "parentId": { - "description": "涓婄骇閮ㄩ棬ID", - "type": "integer" - }, - "remark": { - "description": "澶囨敞", - "type": "string" - }, - "sort": { - "description": "鎺掑簭", - "type": "integer" } } }, @@ -416,27 +244,6 @@ } } }, - "request.AddDepartment": { - "type": "object", - "properties": { - "name": { - "description": "閮ㄩ棬鍚嶇О", - "type": "string" - }, - "number": { - "description": "閮ㄩ棬缂栧彿", - "type": "string" - }, - "parentId": { - "description": "涓婄骇閮ㄩ棬ID 涓�绾ч儴闂ㄤ紶0", - "type": "integer" - }, - "remark": { - "description": "澶囨敞", - "type": "string" - } - } - }, "request.AddDict": { "type": "object", "properties": { @@ -455,30 +262,6 @@ "number": { "description": "缂栫爜", "type": "string" - }, - "remark": { - "description": "澶囨敞", - "type": "string" - } - } - }, - "request.UpdateDepartment": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "name": { - "description": "閮ㄩ棬鍚嶇О", - "type": "string" - }, - "number": { - "description": "閮ㄩ棬缂栧彿", - "type": "string" - }, - "parentId": { - "description": "涓婄骇閮ㄩ棬ID 涓�绾ч儴闂ㄤ紶0", - "type": "integer" }, "remark": { "description": "澶囨敞", -- Gitblit v1.8.0