mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-01 15:31:03 +00:00
修改接口权限的名字
This commit is contained in:
parent
e7349e6a9e
commit
a397a9b51a
@ -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' => '',
|
||||
|
||||
@ -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%}删除接口']);
|
||||
|
||||
@ -1 +1 @@
|
||||
Route::post('{%route%}', 'crud.{%routePath%}{%controller%}/save')->option(['real_name' => '{%menus%}保存数据接口']);
|
||||
Route::post('{%route%}', 'crud.{%routePath%}{%controller%}/save')->option(['real_name' => '{%menus%}保存接口']);
|
||||
|
||||
@ -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%}修改接口']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user