From 94c8a01b984d816acfa4b65652d14af22cabad55 Mon Sep 17 00:00:00 2001 From: lxyer <237809796@qq.com> Date: Thu, 30 May 2019 18:39:55 +0800 Subject: [PATCH] . --- pom.xml | 74 ++++++++++++++++++++++++- root/api/plat.js | 3 +- root/index.html | 1 + root/metadata/metaService.html | 7 ++- root/metadata/metatable/import.html | 3 +- root/metadata/metatable/metaTable.html | 24 ++++++++ root/plat/db.html | 11 +++- root/plat/index.html | 4 +- root/res/img/DbPlat概念图.png | Bin 0 -> 37387 bytes root/res/img/MetaService.png | Bin 0 -> 26415 bytes root/res/img/MetaTable.png | Bin 0 -> 12319 bytes root/res/img/Table-Link-Service.png | Bin 0 -> 24156 bytes root/res/img/code.png | Bin 5211 -> 175689 bytes root/res/img/code_history.png | Bin 31166 -> 30995 bytes root/res/img/meta_flow.png | Bin 14575 -> 8662 bytes root/res/img/meta_link.png | Bin 6236 -> 7965 bytes root/single/core.html | 14 +++++ src/test/java/RunTest.java | 64 +++++++++++++++++++-- 18 files changed, 188 insertions(+), 17 deletions(-) create mode 100644 root/res/img/DbPlat概念图.png create mode 100644 root/res/img/MetaService.png create mode 100644 root/res/img/MetaTable.png create mode 100644 root/res/img/Table-Link-Service.png create mode 100644 root/single/core.html diff --git a/pom.xml b/pom.xml index 5e568b7..94b0b16 100644 --- a/pom.xml +++ b/pom.xml @@ -73,8 +73,76 @@ + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + prepare-package + + copy-dependencies + + + ${project.build.directory}/meta-kit/lib + false + false + true + + + + + + maven-resources-plugin + 2.5 + + + copy-resources + process-sources + + copy-resources + + + ${basedir}/target/meta-kit/ + + + + ${basedir}/ + + bin/** + conf/** + root/** + + + + + + + copy-resources1 + process-sources + + copy-resources + + + ${basedir}/target/meta-kit/lib + + + + ${project.basedir}/src/main/resources/ + + tpl/** + META-INF/** + + + + + + + + - + diff --git a/root/api/plat.js b/root/api/plat.js index 9dffe0b..057293f 100644 --- a/root/api/plat.js +++ b/root/api/plat.js @@ -6,13 +6,14 @@ const plat = { return red.getX('/plat/list', params) }, platSave({plat}) { - return red.postX('/plat/save', {plat}) + return red.postX('/plat/save', {plat:JSON.stringify(plat)}) }, dbList(params) { // 数据源列表 return red.getX('/plat/db_list', params) }, dbSave({plat}) { + // todo:解决重复点击保存出现的异常 plat["url"] = escape(plat["url"]) return red.postX('/plat/db_save', {plat: JSON.stringify(plat)}) }, diff --git a/root/index.html b/root/index.html index d4f607a..4d00795 100644 --- a/root/index.html +++ b/root/index.html @@ -118,6 +118,7 @@ {name: "关于", url: "/single", nodes: [ {url:"/single/about.html", name:"关于MetaKit", icon:"icon-server"}, {url:"/single/code.html", name:"整体实现", icon:"icon-server"}, + {url:"/single/core.html", name:"组件关系", icon:"icon-server"}, {url:"/single/metaFlow.html", name:"MetaKit使用", icon:"icon-server"}, ] }, diff --git a/root/metadata/metaService.html b/root/metadata/metaService.html index b112c69..eeaccad 100644 --- a/root/metadata/metaService.html +++ b/root/metadata/metaService.html @@ -10,7 +10,7 @@