修改接口权限的名字

This commit is contained in:
liaofei 2023-04-23 16:23:02 +08:00
parent e7349e6a9e
commit a397a9b51a
4 changed files with 6 additions and 6 deletions

View File

@ -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 . '/<id>',
'method' => 'PUT',
'name' => $modelName . '修改数据接口',
'name' => $modelName . '修改接口',
'app_name' => 'adminapi',
'cate_id' => $cateId,
'unique_auth' => '',
@ -347,7 +347,7 @@ class SystemCrudServices extends BaseServices
[
'path' => $routeName . '/<id>',
'method' => 'DELETE',
'name' => $modelName . '删除数据接口',
'name' => $modelName . '删除接口',
'app_name' => 'adminapi',
'cate_id' => $cateId,
'unique_auth' => '',

View File

@ -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%}删除接口']);

View File

@ -1 +1 @@
Route::post('{%route%}', 'crud.{%routePath%}{%controller%}/save')->option(['real_name' => '{%menus%}保存数据接口']);
Route::post('{%route%}', 'crud.{%routePath%}{%controller%}/save')->option(['real_name' => '{%menus%}保存接口']);

View File

@ -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%}修改接口']);