作者 yangfu

业务表同步

... ... @@ -33,8 +33,10 @@ func (tableService *TableService) ShowBusinessTables(ctx *domain.Context, cmd *q
}
result := make([]map[string]interface{}, 0)
for _, t := range response.TableFullNames {
simpleName := strings.Split(t, ".")
result = append(result, map[string]interface{}{
"name": t,
"simpleName": simpleName[len(simpleName)-1],
})
}
return map[string]interface{}{
... ...