This commit is contained in:
2019-04-16 21:57:41 +08:00
parent 368f4fc733
commit 52f5214bbd
3 changed files with 35 additions and 21 deletions

View File

@@ -3,9 +3,9 @@ const meta = {
getTableList(callback) {
red.getJSON("/meta/tablelist",{}, json => callback(json));
},
getTableDetail({name}, callback) {
/*getTableDetail({name}, callback) {
red.getJSON("/meta/tableinfo",{name}, json => callback(json));
},
},*/
getServiceList(callback) {
red.getJSON("/meta/service_list",{}, json => {
@@ -57,6 +57,7 @@ const meta = {
linkInfo({alias}) {
return red.postX('/meta/link_info', {alias})
},
tableInfo({name, alias}) {
return red.postX('/meta/tableinfo', {name, alias})
}