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 | 984 +++++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 739 insertions(+), 245 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index b119fe1..74b8cfe 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -911,7 +911,7 @@ } ], "consumes": [ - "multipart/form-data" + "application/json" ], "produces": [ "application/json" @@ -919,19 +919,21 @@ "tags": [ "AutoCode" ], - "summary": "瀹夎鎻掍欢", + "summary": "鍒涘缓鎻掍欢妯℃澘", "parameters": [ { - "type": "file", - "description": "this is a test file", - "name": "plug", - "in": "formData", - "required": true + "description": "鍒涘缓鎻掍欢妯℃澘", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAutoCode" + } } ], "responses": { "200": { - "description": "瀹夎鎻掍欢鎴愬姛", + "description": "鍒涘缓鎻掍欢妯℃澘鎴愬姛", "schema": { "allOf": [ { @@ -941,10 +943,8 @@ "type": "object", "properties": { "data": { - "type": "array", - "items": { - "type": "object" - } + "type": "object", + "additionalProperties": true }, "msg": { "type": "string" @@ -1378,6 +1378,60 @@ } } }, + "/autoCode/installPlugin": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "multipart/form-data" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "瀹夎鎻掍欢", + "parameters": [ + { + "type": "file", + "description": "this is a test file", + "name": "plug", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "瀹夎鎻掍欢鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object" + } + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, "/autoCode/preview": { "post": { "security": [ @@ -1409,6 +1463,60 @@ "responses": { "200": { "description": "棰勮鍒涘缓鍚庣殑浠g爜", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + }, + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, + "/autoCode/pubPlug": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "AutoCode" + ], + "summary": "鎵撳寘鎻掍欢", + "parameters": [ + { + "description": "鎵撳寘鎻掍欢", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/system.SysAutoCode" + } + } + ], + "responses": { + "200": { + "description": "鎵撳寘鎻掍欢鎴愬姛", "schema": { "allOf": [ { @@ -1692,12 +1800,6 @@ "parameters": [ { "type": "string", - "description": "鍒涘缓鏃堕棿", - "name": "createdAt", - "in": "query" - }, - { - "type": "string", "description": "瀹㈡埛鍚�", "name": "customerName", "in": "query" @@ -1724,12 +1826,6 @@ "type": "integer", "description": "绠$悊ID", "name": "sysUserId", - "in": "query" - }, - { - "type": "string", - "description": "鏇存柊鏃堕棿", - "name": "updatedAt", "in": "query" } ], @@ -2321,6 +2417,266 @@ } } }, + "/i/createIndustry": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Industry" + ], + "summary": "鍒涘缓Industry", + "parameters": [ + { + "description": "鍒涘缓Industry", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/test.Industry" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/i/deleteIndustry": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Industry" + ], + "summary": "鍒犻櫎Industry", + "parameters": [ + { + "description": "鍒犻櫎Industry", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/test.Industry" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"鍒犻櫎鎴愬姛\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/i/deleteIndustryByIds": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Industry" + ], + "summary": "鎵归噺鍒犻櫎Industry", + "parameters": [ + { + "description": "鎵归噺鍒犻櫎Industry", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.IdsReq" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"鎵归噺鍒犻櫎鎴愬姛\"}", + "schema": { + "type": "string" + } + } + } + } + }, + "/i/findIndustry": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Industry" + ], + "summary": "鐢╥d鏌ヨIndustry", + "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" + } + } + } + } + }, + "/i/getIndustryList": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Industry" + ], + "summary": "鍒嗛〉鑾峰彇Industry鍒楄〃", + "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" + } + } + } + } + }, + "/i/updateIndustry": { + "put": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Industry" + ], + "summary": "鏇存柊Industry", + "parameters": [ + { + "description": "鏇存柊Industry", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/test.Industry" + } + } + ], + "responses": { + "200": { + "description": "{\"success\":true,\"data\":{},\"msg\":\"鏇存柊鎴愬姛\"}", + "schema": { + "type": "string" + } + } + } + } + }, "/init/checkdb": { "post": { "produces": [ @@ -2897,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": [ @@ -3017,12 +3633,6 @@ "parameters": [ { "type": "string", - "description": "鍒涘缓鏃堕棿", - "name": "createdAt", - "in": "query" - }, - { - "type": "string", "description": "鎻忚堪", "name": "desc", "in": "query" @@ -3049,12 +3659,6 @@ "type": "string", "description": "瀛楀吀鍚嶏紙鑻憋級", "name": "type", - "in": "query" - }, - { - "type": "string", - "description": "鏇存柊鏃堕棿", - "name": "updatedAt", "in": "query" } ], @@ -3104,12 +3708,6 @@ "parameters": [ { "type": "string", - "description": "鍒涘缓鏃堕棿", - "name": "createdAt", - "in": "query" - }, - { - "type": "string", "description": "鎻忚堪", "name": "desc", "in": "query" @@ -3154,12 +3752,6 @@ "type": "string", "description": "瀛楀吀鍚嶏紙鑻憋級", "name": "type", - "in": "query" - }, - { - "type": "string", - "description": "鏇存柊鏃堕棿", - "name": "updatedAt", "in": "query" } ], @@ -3357,12 +3949,6 @@ "summary": "鐢╥d鏌ヨSysDictionaryDetail", "parameters": [ { - "type": "string", - "description": "鍒涘缓鏃堕棿", - "name": "createdAt", - "in": "query" - }, - { "type": "integer", "description": "涓婚敭ID", "name": "id", @@ -3390,12 +3976,6 @@ "type": "integer", "description": "鍏宠仈鏍囪", "name": "sysDictionaryID", - "in": "query" - }, - { - "type": "string", - "description": "鏇存柊鏃堕棿", - "name": "updatedAt", "in": "query" }, { @@ -3450,12 +4030,6 @@ "summary": "鍒嗛〉鑾峰彇SysDictionaryDetail鍒楄〃", "parameters": [ { - "type": "string", - "description": "鍒涘缓鏃堕棿", - "name": "createdAt", - "in": "query" - }, - { "type": "integer", "description": "涓婚敭ID", "name": "id", @@ -3501,12 +4075,6 @@ "type": "integer", "description": "鍏宠仈鏍囪", "name": "sysDictionaryID", - "in": "query" - }, - { - "type": "string", - "description": "鏇存柊鏃堕棿", - "name": "updatedAt", "in": "query" }, { @@ -3773,12 +4341,6 @@ }, { "type": "string", - "description": "鍒涘缓鏃堕棿", - "name": "createdAt", - "in": "query" - }, - { - "type": "string", "description": "閿欒淇℃伅", "name": "error_message", "in": "query" @@ -3823,12 +4385,6 @@ "type": "integer", "description": "璇锋眰鐘舵��", "name": "status", - "in": "query" - }, - { - "type": "string", - "description": "鏇存柊鏃堕棿", - "name": "updatedAt", "in": "query" }, { @@ -3896,12 +4452,6 @@ }, { "type": "string", - "description": "鍒涘缓鏃堕棿", - "name": "createdAt", - "in": "query" - }, - { - "type": "string", "description": "閿欒淇℃伅", "name": "error_message", "in": "query" @@ -3964,12 +4514,6 @@ "type": "integer", "description": "璇锋眰鐘舵��", "name": "status", - "in": "query" - }, - { - "type": "string", - "description": "鏇存柊鏃堕棿", - "name": "updatedAt", "in": "query" }, { @@ -4938,15 +5482,12 @@ "type": "string" }, "path": { - "description": "鏈嶅姟鍣ㄥ湴鍧�:绔彛", "type": "string" }, "port": { - "description": ":绔彛", "type": "string" }, "prefix": { - "description": "鍏ㄥ眬琛ㄥ墠缂�锛屽崟鐙畾涔塗ableName鍒欎笉鐢熸晥", "type": "string" }, "singular": { @@ -4954,7 +5495,7 @@ "type": "boolean" }, "username": { - "description": "鏁版嵁搴撶敤鎴峰悕", + "description": "鏁版嵁搴撳瘑鐮�", "type": "string" } } @@ -4996,15 +5537,12 @@ "type": "string" }, "path": { - "description": "鏈嶅姟鍣ㄥ湴鍧�:绔彛", "type": "string" }, "port": { - "description": ":绔彛", "type": "string" }, "prefix": { - "description": "鍏ㄥ眬琛ㄥ墠缂�锛屽崟鐙畾涔塗ableName鍒欎笉鐢熸晥", "type": "string" }, "singular": { @@ -5012,7 +5550,7 @@ "type": "boolean" }, "username": { - "description": "鏁版嵁搴撶敤鎴峰悕", + "description": "鏁版嵁搴撳瘑鐮�", "type": "string" } } @@ -5054,15 +5592,12 @@ "type": "string" }, "path": { - "description": "鏈嶅姟鍣ㄥ湴鍧�:绔彛", "type": "string" }, "port": { - "description": ":绔彛", "type": "string" }, "prefix": { - "description": "鍏ㄥ眬琛ㄥ墠缂�锛屽崟鐙畾涔塗ableName鍒欎笉鐢熸晥", "type": "string" }, "singular": { @@ -5070,7 +5605,7 @@ "type": "boolean" }, "username": { - "description": "鏁版嵁搴撶敤鎴峰悕", + "description": "鏁版嵁搴撳瘑鐮�", "type": "string" } } @@ -5112,15 +5647,12 @@ "type": "string" }, "path": { - "description": "鏈嶅姟鍣ㄥ湴鍧�:绔彛", "type": "string" }, "port": { - "description": ":绔彛", "type": "string" }, "prefix": { - "description": "鍏ㄥ眬琛ㄥ墠缂�锛屽崟鐙畾涔塗ableName鍒欎笉鐢熸晥", "type": "string" }, "singular": { @@ -5128,7 +5660,7 @@ "type": "boolean" }, "username": { - "description": "鏁版嵁搴撶敤鎴峰悕", + "description": "鏁版嵁搴撳瘑鐮�", "type": "string" } } @@ -5260,6 +5792,9 @@ "redis": { "$ref": "#/definitions/config.Redis" }, + "sqlite": { + "$ref": "#/definitions/config.Sqlite" + }, "system": { "$ref": "#/definitions/config.System" }, @@ -5317,15 +5852,12 @@ "type": "string" }, "path": { - "description": "鏈嶅姟鍣ㄥ湴鍧�:绔彛", "type": "string" }, "port": { - "description": ":绔彛", "type": "string" }, "prefix": { - "description": "鍏ㄥ眬琛ㄥ墠缂�锛屽崟鐙畾涔塗ableName鍒欎笉鐢熸晥", "type": "string" }, "singular": { @@ -5336,7 +5868,62 @@ "type": "string" }, "username": { - "description": "鏁版嵁搴撶敤鎴峰悕", + "description": "鏁版嵁搴撳瘑鐮�", + "type": "string" + } + } + }, + "config.Sqlite": { + "type": "object", + "properties": { + "config": { + "description": "楂樼骇閰嶇疆", + "type": "string" + }, + "db-name": { + "description": "鏁版嵁搴撳悕", + "type": "string" + }, + "engine": { + "description": "鏁版嵁搴撳紩鎿庯紝榛樿InnoDB", + "type": "string", + "default": "InnoDB" + }, + "log-mode": { + "description": "鏄惁寮�鍚疓orm鍏ㄥ眬鏃ュ織", + "type": "string" + }, + "log-zap": { + "description": "鏄惁閫氳繃zap鍐欏叆鏃ュ織鏂囦欢", + "type": "boolean" + }, + "max-idle-conns": { + "description": "绌洪棽涓殑鏈�澶ц繛鎺ユ暟", + "type": "integer" + }, + "max-open-conns": { + "description": "鎵撳紑鍒版暟鎹簱鐨勬渶澶ц繛鎺ユ暟", + "type": "integer" + }, + "password": { + "description": "鏁版嵁搴撳瘑鐮�", + "type": "string" + }, + "path": { + "type": "string" + }, + "port": { + "type": "string" + }, + "prefix": { + "type": "string" + }, + "singular": { + "description": "鏄惁寮�鍚叏灞�绂佺敤澶嶆暟锛宼rue琛ㄧず寮�鍚�", + "type": "boolean" + }, + "username": { + "description": "鏁版嵁搴撳瘑鐮�", "type": "string" } } @@ -5469,10 +6056,6 @@ "example.ExaCustomer": { "type": "object", "properties": { - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" - }, "customerName": { "description": "瀹㈡埛鍚�", "type": "string" @@ -5500,10 +6083,6 @@ "sysUserId": { "description": "绠$悊ID", "type": "integer" - }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" } } }, @@ -5512,10 +6091,6 @@ "properties": { "chunkTotal": { "type": "integer" - }, - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" }, "exaFileChunk": { "type": "array", @@ -5538,20 +6113,12 @@ }, "isFinish": { "type": "boolean" - }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" } } }, "example.ExaFileChunk": { "type": "object", "properties": { - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" - }, "exaFileID": { "type": "integer" }, @@ -5564,20 +6131,12 @@ "id": { "description": "涓婚敭ID", "type": "integer" - }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" } } }, "example.ExaFileUploadAndDownload": { "type": "object", "properties": { - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" - }, "id": { "description": "涓婚敭ID", "type": "integer" @@ -5594,10 +6153,6 @@ "description": "鏂囦欢鏍囩", "type": "string" }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" - }, "url": { "description": "鏂囦欢鍦板潃", "type": "string" @@ -5608,31 +6163,31 @@ "type": "object", "properties": { "from": { - "description": "鏀朵欢浜�", + "description": "鍙戜欢浜� 浣犺嚜宸辫鍙戦偖浠剁殑閭", "type": "string" }, "host": { - "description": "鏈嶅姟鍣ㄥ湴鍧�", + "description": "鏈嶅姟鍣ㄥ湴鍧� 渚嬪 smtp.qq.com 璇峰墠寰�QQ鎴栬�呬綘瑕佸彂閭欢鐨勯偖绠辨煡鐪嬪叾smtp鍗忚", "type": "string" }, "is-ssl": { - "description": "鏄惁SSL", + "description": "鏄惁SSL 鏄惁寮�鍚疭SL", "type": "boolean" }, "nickname": { - "description": "鏄电О", + "description": "鏄电О 鍙戜欢浜烘樀绉� 閫氬父涓鸿嚜宸辩殑閭", "type": "string" }, "port": { - "description": "绔彛", + "description": "绔彛 璇峰墠寰�QQ鎴栬�呬綘瑕佸彂閭欢鐨勯偖绠辨煡鐪嬪叾smtp鍗忚 澶у涓� 465", "type": "integer" }, "secret": { - "description": "瀵嗛挜", + "description": "瀵嗛挜 鐢ㄤ簬鐧诲綍鐨勫瘑閽� 鏈�濂戒笉瑕佺敤閭瀵嗙爜 鍘婚偖绠眘mtp鐢宠涓�涓敤浜庣櫥褰曠殑瀵嗛挜", "type": "string" }, "to": { - "description": "鏀朵欢浜�:澶氫釜浠ヨ嫳鏂囬�楀彿鍒嗛殧", + "description": "鏀朵欢浜�:澶氫釜浠ヨ嫳鏂囬�楀彿鍒嗛殧 渚嬶細a@qq.com b@qq.com 姝e紡寮�鍙戜腑璇锋妸姝ら」鐩綔涓哄弬鏁颁娇鐢�", "type": "string" } } @@ -5728,12 +6283,15 @@ "request.InitDB": { "type": "object", "required": [ - "dbName", - "userName" + "dbName" ], "properties": { "dbName": { "description": "鏁版嵁搴撳悕", + "type": "string" + }, + "dbPath": { + "description": "sqlite鏁版嵁搴撴枃浠惰矾寰�", "type": "string" }, "dbType": { @@ -5857,10 +6415,6 @@ "description": "api缁�", "type": "string" }, - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" - }, "desc": { "description": "鎺掑簭鏂瑰紡:鍗囧簭false(榛樿)|闄嶅簭true", "type": "boolean" @@ -5895,10 +6449,6 @@ }, "path": { "description": "api璺緞", - "type": "string" - }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", "type": "string" } } @@ -6324,10 +6874,6 @@ "description": "api缁�", "type": "string" }, - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" - }, "description": { "description": "api涓枃鎻忚堪", "type": "string" @@ -6342,10 +6888,6 @@ }, "path": { "description": "api璺緞", - "type": "string" - }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", "type": "string" } } @@ -6403,10 +6945,6 @@ "system.SysAutoCode": { "type": "object", "properties": { - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" - }, "desc": { "type": "string" }, @@ -6418,10 +6956,6 @@ "type": "string" }, "packageName": { - "type": "string" - }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", "type": "string" } } @@ -6443,10 +6977,6 @@ }, "component": { "description": "瀵瑰簲鍓嶇鏂囦欢璺緞", - "type": "string" - }, - "createdAt": { - "description": "鍒涘缓鏃堕棿", "type": "string" }, "hidden": { @@ -6492,20 +7022,12 @@ "sort": { "description": "鎺掑簭鏍囪", "type": "integer" - }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" } } }, "system.SysBaseMenuBtn": { "type": "object", "properties": { - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" - }, "desc": { "type": "string" }, @@ -6518,20 +7040,12 @@ }, "sysBaseMenuID": { "type": "integer" - }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" } } }, "system.SysBaseMenuParameter": { "type": "object", "properties": { - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" - }, "id": { "description": "涓婚敭ID", "type": "integer" @@ -6547,10 +7061,6 @@ "description": "鍦板潃鏍忔惡甯﹀弬鏁颁负params杩樻槸query", "type": "string" }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" - }, "value": { "description": "鍦板潃鏍忔惡甯﹀弬鏁扮殑鍊�", "type": "string" @@ -6560,10 +7070,6 @@ "system.SysDictionary": { "type": "object", "properties": { - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" - }, "desc": { "description": "鎻忚堪", "type": "string" @@ -6589,20 +7095,12 @@ "type": { "description": "瀛楀吀鍚嶏紙鑻憋級", "type": "string" - }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" } } }, "system.SysDictionaryDetail": { "type": "object", "properties": { - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" - }, "id": { "description": "涓婚敭ID", "type": "integer" @@ -6622,10 +7120,6 @@ "sysDictionaryID": { "description": "鍏宠仈鏍囪", "type": "integer" - }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" }, "value": { "description": "瀛楀吀鍊�", @@ -6656,10 +7150,6 @@ }, "component": { "description": "瀵瑰簲鍓嶇鏂囦欢璺緞", - "type": "string" - }, - "createdAt": { - "description": "鍒涘缓鏃堕棿", "type": "string" }, "hidden": { @@ -6708,10 +7198,6 @@ "sort": { "description": "鎺掑簭鏍囪", "type": "integer" - }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" } } }, @@ -6724,10 +7210,6 @@ }, "body": { "description": "璇锋眰Body", - "type": "string" - }, - "createdAt": { - "description": "鍒涘缓鏃堕棿", "type": "string" }, "error_message": { @@ -6762,10 +7244,6 @@ "description": "璇锋眰鐘舵��", "type": "integer" }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" - }, "user": { "$ref": "#/definitions/system.SysUser" }, @@ -6799,10 +7277,6 @@ "description": "鍩虹棰滆壊", "type": "string" }, - "createdAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" - }, "email": { "description": "鐢ㄦ埛閭", "type": "string" @@ -6831,10 +7305,6 @@ "description": "鐢ㄦ埛渚ц竟涓婚", "type": "string" }, - "updatedAt": { - "description": "鏇存柊鏃堕棿", - "type": "string" - }, "userName": { "description": "鐢ㄦ埛鐧诲綍鍚�", "type": "string" @@ -6852,6 +7322,30 @@ "$ref": "#/definitions/config.Server" } } + }, + "test.Industry": { + "type": "object", + "properties": { + "id": { + "description": "涓婚敭ID", + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "test.SupplierType": { + "type": "object", + "properties": { + "id": { + "description": "涓婚敭ID", + "type": "integer" + }, + "name": { + "type": "string" + } + } } }, "securityDefinitions": { -- Gitblit v1.8.0