const db = { catalogList({dbAccount, dbPlatId}) { // database列表 console.log(dbAccount) return red.postX('/_db/catalog_list', {dbAccount: JSON.stringify(dbAccount), dbPlatId}) }, tableList({dbPlatId, catalogs}) { // 数据库表列表 return red.postX('/_db/table_list', {dbPlatId, catalogs: JSON.stringify(catalogs)}) }, tableInfo({dbPlatId, catalog, tableName}) { return red.postX('/_db/table_info', {dbPlatId, catalog, tableName}) } }