From a397a9b51aabefc7564f3ce13a924611e8578803 Mon Sep 17 00:00:00 2001 From: liaofei <136327134@qq.com> Date: Sun, 23 Apr 2023 16:23:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=E6=9D=83?= =?UTF-8?q?=E9=99=90=E7=9A=84=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/system/SystemCrudServices.php | 6 +++--- crmeb/crmeb/services/crud/stubs/route/delete.stub | 2 +- crmeb/crmeb/services/crud/stubs/route/save.stub | 2 +- crmeb/crmeb/services/crud/stubs/route/update.stub | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crmeb/app/services/system/SystemCrudServices.php b/crmeb/app/services/system/SystemCrudServices.php index df4442d25..e76702b81 100644 --- a/crmeb/app/services/system/SystemCrudServices.php +++ b/crmeb/app/services/system/SystemCrudServices.php @@ -320,7 +320,7 @@ class SystemCrudServices extends BaseServices [ 'path' => $routeName, 'method' => 'POST', - 'name' => $modelName . '保存数据接口', + 'name' => $modelName . '保存接口', 'app_name' => 'adminapi', 'cate_id' => $cateId, 'unique_auth' => '', @@ -338,7 +338,7 @@ class SystemCrudServices extends BaseServices [ 'path' => $routeName . '/', 'method' => 'PUT', - 'name' => $modelName . '修改数据接口', + 'name' => $modelName . '修改接口', 'app_name' => 'adminapi', 'cate_id' => $cateId, 'unique_auth' => '', @@ -347,7 +347,7 @@ class SystemCrudServices extends BaseServices [ 'path' => $routeName . '/', 'method' => 'DELETE', - 'name' => $modelName . '删除数据接口', + 'name' => $modelName . '删除接口', 'app_name' => 'adminapi', 'cate_id' => $cateId, 'unique_auth' => '', diff --git a/crmeb/crmeb/services/crud/stubs/route/delete.stub b/crmeb/crmeb/services/crud/stubs/route/delete.stub index a38392a27..c75398711 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')->option(['real_name' => '{%menus%}删除数据接口']); +Route::delete('{%route%}/:id', 'crud.{%routePath%}{%controller%}/delete')->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 b950a91d8..795390ab9 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')->option(['real_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 d982677d3..5e03fd7ab 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')->option(['real_name' => '{%menus%}修改数据接口']); +Route::put('{%route%}/:id', 'crud.{%routePath%}{%controller%}/update')->option(['real_name' => '{%menus%}修改接口']);