From 0d1c1b61cb2598f04bf1ed5e7322f209835ca088 Mon Sep 17 00:00:00 2001
From: liaofei <136327134@qq.com>
Date: Thu, 20 Apr 2023 16:41:05 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=9F=E6=88=90?=
=?UTF-8?q?=E7=9A=84=E8=B7=AF=E7=94=B1=E5=90=8D=E7=A7=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
crmeb/crmeb/services/crud/stubs/route/create.stub | 2 +-
crmeb/crmeb/services/crud/stubs/route/delete.stub | 2 +-
crmeb/crmeb/services/crud/stubs/route/edit.stub | 2 +-
crmeb/crmeb/services/crud/stubs/route/index.stub | 2 +-
crmeb/crmeb/services/crud/stubs/route/save.stub | 2 +-
crmeb/crmeb/services/crud/stubs/route/update.stub | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/crmeb/crmeb/services/crud/stubs/route/create.stub b/crmeb/crmeb/services/crud/stubs/route/create.stub
index f5a6d6b51..006c0ba7f 100644
--- a/crmeb/crmeb/services/crud/stubs/route/create.stub
+++ b/crmeb/crmeb/services/crud/stubs/route/create.stub
@@ -1 +1 @@
-Route::get('{%route%}/create', 'crud.{%routePath%}{%controller%}/create')->name('{%menus%}获取创建表单接口');
+Route::get('{%route%}/create', 'crud.{%routePath%}{%controller%}/create')->option(['real_name' => '{%menus%}获取创建表单接口']);
diff --git a/crmeb/crmeb/services/crud/stubs/route/delete.stub b/crmeb/crmeb/services/crud/stubs/route/delete.stub
index 2557266fd..a38392a27 100644
--- a/crmeb/crmeb/services/crud/stubs/route/delete.stub
+++ b/crmeb/crmeb/services/crud/stubs/route/delete.stub
@@ -1 +1 @@
-Route::delete('{%route%}/:id', 'crud.{%routePath%}{%controller%}/delete')->name('{%menus%}删除数据接口');
+Route::delete('{%route%}/:id', 'crud.{%routePath%}{%controller%}/delete')->option(['real_name' => '{%menus%}删除数据接口']);
diff --git a/crmeb/crmeb/services/crud/stubs/route/edit.stub b/crmeb/crmeb/services/crud/stubs/route/edit.stub
index 65b3cb6bd..894ee7ed6 100644
--- a/crmeb/crmeb/services/crud/stubs/route/edit.stub
+++ b/crmeb/crmeb/services/crud/stubs/route/edit.stub
@@ -1 +1 @@
-Route::get('{%route%}/:id/edit', 'crud.{%routePath%}{%controller%}/edit')->name('{%menus%}获取修改表单接口');
+Route::get('{%route%}/:id/edit', 'crud.{%routePath%}{%controller%}/edit')->option(['real_name' => '{%menus%}获取修改表单接口']);
diff --git a/crmeb/crmeb/services/crud/stubs/route/index.stub b/crmeb/crmeb/services/crud/stubs/route/index.stub
index f43da710b..0b3589bc3 100644
--- a/crmeb/crmeb/services/crud/stubs/route/index.stub
+++ b/crmeb/crmeb/services/crud/stubs/route/index.stub
@@ -1 +1 @@
-Route::get('{%route%}', 'crud.{%routePath%}{%controller%}/index')->name('{%menus%}列表接口');
+Route::get('{%route%}', 'crud.{%routePath%}{%controller%}/index')->option(['real_name' => '{%menus%}列表接口']);
diff --git a/crmeb/crmeb/services/crud/stubs/route/save.stub b/crmeb/crmeb/services/crud/stubs/route/save.stub
index 10d990844..b950a91d8 100644
--- a/crmeb/crmeb/services/crud/stubs/route/save.stub
+++ b/crmeb/crmeb/services/crud/stubs/route/save.stub
@@ -1 +1 @@
-Route::post('{%route%}', 'crud.{%routePath%}{%controller%}/save')->name('{%menus%}保存数据接口');
+Route::post('{%route%}', 'crud.{%routePath%}{%controller%}/save')->option(['real_name' => '{%menus%}保存数据接口']);
diff --git a/crmeb/crmeb/services/crud/stubs/route/update.stub b/crmeb/crmeb/services/crud/stubs/route/update.stub
index 7e7578198..d982677d3 100644
--- a/crmeb/crmeb/services/crud/stubs/route/update.stub
+++ b/crmeb/crmeb/services/crud/stubs/route/update.stub
@@ -1 +1 @@
-Route::put('{%route%}/:id', 'crud.{%routePath%}{%controller%}/update')->name('{%menus%}修改数据接口');
+Route::put('{%route%}/:id', 'crud.{%routePath%}{%controller%}/update')->option(['real_name' => '{%menus%}修改数据接口']);
From 97db6107f5c496922a24d236a9f6707f5f3ddfd4 Mon Sep 17 00:00:00 2001
From: liaofei <136327134@qq.com>
Date: Thu, 20 Apr 2023 16:50:10 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9crud=E7=94=9F=E6=88=90?=
=?UTF-8?q?=E8=AF=B4=E6=98=8E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../system/codeGeneration/components/FoundationFor.vue | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/template/admin/src/pages/system/codeGeneration/components/FoundationFor.vue b/template/admin/src/pages/system/codeGeneration/components/FoundationFor.vue
index f197e748e..05cc0f296 100644
--- a/template/admin/src/pages/system/codeGeneration/components/FoundationFor.vue
+++ b/template/admin/src/pages/system/codeGeneration/components/FoundationFor.vue
@@ -4,10 +4,11 @@
crud生成说明
1、字段配置中表存在生成的字段为表内列的信息,并且主键、伪删除字段不允许设置为列,主键默认展示在列表中,伪删除字段不允许展示 2、在字段配置中新建表时,字段类型为addTimestamps会自动创建create_time、update_time字段,字段类型为:timestamp 3、在字段配置中新建表时,字段类型为addSoftDelete会字段创建delete_time字段,字段类型为:timestamp,作用是伪删除 4、在字段配置中,表单类型为frameImageOne时属于图片单选,frameImages时为图片多选 5、在字段配置中,表单类型为不生成时创建后不会生成对应的表单项 2、在字段配置中新建表时,主键不需要增加列,会在生成的时候默认自带主键id 3、在字段配置中新建表时,字段类型为addTimestamps会自动创建create_time、update_time字段,字段类型为:timestamp 4、在字段配置中新建表时,字段类型为addSoftDelete会字段创建delete_time字段,字段类型为:timestamp,作用是伪删除 5、在字段配置中,表单类型为frameImageOne时属于图片单选,frameImages时为图片多选 6、在字段配置中,表单类型为不生成时创建后不会生成对应的表单项