From c09be5d9e05babfa40500e4d64c73339fc6e7b99 Mon Sep 17 00:00:00 2001 From: richie Date: Wed, 21 Sep 2022 09:12:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=87=A0=E4=B8=AAAPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 97d15b7..334761b 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,21 @@ operation.reset(); 请求参数:```{"groupId":"#分组Id"}``` +#### 修改分组名 +请求地址:```/api/v1/datasource/group/modify``` + +请求类型:POST + +请求参数: ``` {"groupId":"#分组Id", "groupName":"#新的分组名"} ``` + +返回值: +```json +{ + "success": true, + "code": "200" +} +``` + ### 表管理 #### 创建数据源表 请求地址:```/api/v1/datasource/table/create``` @@ -159,6 +174,21 @@ operation.reset(); 请求参数:``` {"tableId":"#表Id"} ``` +#### 修改数据源表名 +请求地址:```/api/v1/datasource/table/modify``` + +请求类型:POST + +请求参数: ``` {"tableId":"#表Id", "tableName":"#新的表名"} ``` + +返回值: +```json +{ + "success": true, + "code": "200" +} +``` + #### 删除数据源表(暂未启用) 请求地址:```/api/v1/datasource/table/delete```