diff --git a/root/api/meta.js b/root/api/meta.js
index eaa689a..ded5851 100644
--- a/root/api/meta.js
+++ b/root/api/meta.js
@@ -42,9 +42,9 @@ function getServiceDetail({name}, callback) {
});
}*/
const meta = {
- getPlats: (callback) => {
+ /*getPlats: (callback) => {
red.getJSON("/meta/plat_list", {}, json => callback(json));
- },
+ },*/
getTableList(callback) {
red.getJSON("/meta/tablelist",{}, json => callback(json));
},
diff --git a/root/api/plat.js b/root/api/plat.js
new file mode 100644
index 0000000..d6e999d
--- /dev/null
+++ b/root/api/plat.js
@@ -0,0 +1,17 @@
+
+const plat = {
+
+ platList(params) { // 平台列表
+ return red.getX('/plat/list', params)
+ },
+ platSave({plat}) {
+ return red.postX('/plat/save', {plat})
+ },
+
+ dbList(params) { // 数据源列表
+ return red.getX('/plat/db_list', params)
+ },
+ dbSave({plat}) {
+ return red.postX('/plat/db_save', {plat})
+ },
+}
\ No newline at end of file
diff --git a/root/index.html b/root/index.html
index c3c59e1..1590cf5 100644
--- a/root/index.html
+++ b/root/index.html
@@ -90,6 +90,7 @@
+
+