From 459268197849067f190f8ce4a63b74d98cfdea44 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Wed, 3 Sep 2025 20:37:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=9B=91=E6=8E=A7=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=BC=82=E5=B8=B8=E9=82=AE=E7=AE=B1=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=88=90=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/dbm.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/proto/dbm.go b/proto/dbm.go index b9a6146..db3da16 100644 --- a/proto/dbm.go +++ b/proto/dbm.go @@ -102,3 +102,12 @@ type GetDBTableDescReq struct { Table string `json:"table" form:"table"` // 数据库表名 GetType int `json:"get_type" form:"get_type"` // 获取类型: 0获取全部,1获取1个 } + +type GetDBTableDescResp struct { + TableName string `json:"table_name"` // 表名 +} + +type DBTableAttribute struct { + ColumnName string `json:"column_name"` // 列名 + ColumnType string `json:"column_type"` // 列类型 +}