From 79d186495d76170eab70dc4e518505d0c4f7a57a Mon Sep 17 00:00:00 2001 From: izory <791736813@qq.com> Date: Fri, 10 Sep 2021 14:01:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + README.md | 13 ++- ZR.Admin.WebApi/appsettings.Development.json | 3 +- ZR.Admin.WebApi/appsettings.Production.json | 22 ---- ZR.Vue/src/views/tool/gen/importTable.vue | 117 ------------------- ZR.Vue/src/views/tool/{ => gen}/index.vue | 3 +- 6 files changed, 15 insertions(+), 144 deletions(-) delete mode 100644 ZR.Vue/src/views/tool/gen/importTable.vue rename ZR.Vue/src/views/tool/{ => gen}/index.vue (98%) diff --git a/.gitignore b/.gitignore index c516947..34b14f9 100644 --- a/.gitignore +++ b/.gitignore @@ -262,3 +262,4 @@ __pycache__/ /ZRAdmin/Properties/launchSettings.json /ZRAdmin/Properties/PublishProfiles /ZR.Admin.WebApi/appsettings.Stage.json +/CodeGenerate diff --git a/README.md b/README.md index b86af5e..0983811 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Vue版前端技术栈 :基于vue、vuex、vue-router 、vue-cli 、axios 和 e 日志管理:NLog、登录日志、操作日志 -工具类:验证码、丰富公共功能 +工具类:验证码、丰富公共功能、代码生成 ## 🍄快速启动 需要安装:VS2019(最新版)、npm或yarn(最新版) @@ -59,6 +59,7 @@ Vue版前端技术栈 :基于vue、vuex、vue-router 、vue-cli 、axios 和 e 13. [X] 在线构建器:拖动表单元素生成相应的VUE代码。 14. [X] 任务系统:基于Quartz.NET定时任务执行。 15. [X] 文章管理:可以写文章记录。 +16. [X] 代码生成:可以一键生成前后端代码。 ## 🍎演示图 @@ -82,7 +83,15 @@ Vue版前端技术栈 :基于vue、vuex、vue-router 、vue-cli 、axios 和 e - + + + + + + + + + ## 🎉优势 diff --git a/ZR.Admin.WebApi/appsettings.Development.json b/ZR.Admin.WebApi/appsettings.Development.json index 49a30f6..8d3a082 100644 --- a/ZR.Admin.WebApi/appsettings.Development.json +++ b/ZR.Admin.WebApi/appsettings.Development.json @@ -7,7 +7,8 @@ } }, "ConnectionStrings": { - "Conn_Admin": "server=127.0.0.1;database=admin;user=zr;pwd=abc" + "Conn_Admin": "server=127.0.0.1;user=zr;pwd=abc;database=admin", + "ConnDynamic": "server=127.0.0.1;user=zr;pwd=abc;database={database}"//˽ }, "urls": "http://localhost:8888", //url "sysConfig": { diff --git a/ZR.Admin.WebApi/appsettings.Production.json b/ZR.Admin.WebApi/appsettings.Production.json index 8dd126d..8983e0f 100644 --- a/ZR.Admin.WebApi/appsettings.Production.json +++ b/ZR.Admin.WebApi/appsettings.Production.json @@ -5,27 +5,5 @@ "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } - }, - "ConnectionStrings": { - "Conn_Admin": "server=127.0.0.1,1433;database=admin;user=admin;pwd=abc", - "ConnDynamic": "server=127.0.0.1,1433;uid=dev_test;Password=%54Gz@cn;database={database}" - }, - "urls": "http://localhost:8888", - "sysConfig": { - "DBCommandTimeout": 10, - "cors": "http://localhost:8887" - }, - "DemoMode": false, //Ƿʾģʽ - "DbKey": "", - "DbType": 0, //MySql = 0, SqlServer = 1, Sqlite = 2, Oracle = 3, PostgreSQL = 4, - "CodeGenDbType": 0, //ݿ - "Upload": { - "UploadDirectory": "/", - "UploadUrl": "http://localhost:8888" - }, - "ALYUN_OCS": { - "REGIONID": "cn-hangzhou", - "KEY": "XX", - "SECRET": "XX" } } diff --git a/ZR.Vue/src/views/tool/gen/importTable.vue b/ZR.Vue/src/views/tool/gen/importTable.vue deleted file mode 100644 index 56b2c0c..0000000 --- a/ZR.Vue/src/views/tool/gen/importTable.vue +++ /dev/null @@ -1,117 +0,0 @@ - - - diff --git a/ZR.Vue/src/views/tool/index.vue b/ZR.Vue/src/views/tool/gen/index.vue similarity index 98% rename from ZR.Vue/src/views/tool/index.vue rename to ZR.Vue/src/views/tool/gen/index.vue index 0d4310a..a9d99b7 100644 --- a/ZR.Vue/src/views/tool/index.vue +++ b/ZR.Vue/src/views/tool/gen/index.vue @@ -28,13 +28,12 @@ -