This commit is contained in:
liaofei 2023-04-20 18:09:24 +08:00
parent 9f48ba4270
commit 692f4bf77e
2 changed files with 8 additions and 2 deletions

View File

@ -283,7 +283,7 @@ class SystemCrudServices extends BaseServices
$dataMenu = [
'pid' => $data['pid'],
'menu_name' => $data['menuName'],
'menu_path' => '/' . $routeName ,
'menu_path' => '/' . $routeName,
'auth_type' => 1,
'is_show' => 1,
'is_del' => 0,
@ -303,6 +303,7 @@ class SystemCrudServices extends BaseServices
'app_name' => 'adminapi',
'cate_id' => $cateId,
'unique_auth' => '',
'auth_type' => 2,
'add_time' => date('Y-m-d H:i:s')
],
[
@ -312,6 +313,7 @@ class SystemCrudServices extends BaseServices
'app_name' => 'adminapi',
'cate_id' => $cateId,
'unique_auth' => Str::snake($tableName) . '-add',
'auth_type' => 2,
'add_time' => date('Y-m-d H:i:s')
],
[
@ -321,6 +323,7 @@ class SystemCrudServices extends BaseServices
'app_name' => 'adminapi',
'cate_id' => $cateId,
'unique_auth' => '',
'auth_type' => 2,
'add_time' => date('Y-m-d H:i:s')
],
[
@ -330,6 +333,7 @@ class SystemCrudServices extends BaseServices
'app_name' => 'adminapi',
'cate_id' => $cateId,
'unique_auth' => '',
'auth_type' => 2,
'add_time' => date('Y-m-d H:i:s')
],
[
@ -339,6 +343,7 @@ class SystemCrudServices extends BaseServices
'app_name' => 'adminapi',
'cate_id' => $cateId,
'unique_auth' => '',
'auth_type' => 2,
'add_time' => date('Y-m-d H:i:s')
],
[
@ -348,6 +353,7 @@ class SystemCrudServices extends BaseServices
'app_name' => 'adminapi',
'cate_id' => $cateId,
'unique_auth' => '',
'auth_type' => 2,
'add_time' => date('Y-m-d H:i:s')
],
];

View File

@ -53,5 +53,5 @@ return [
//后台前端模板根路径
'admin_template_path' => dirname(app()->getRootPath()) . DS . 'template' . DS . 'admin' . DS . 'src' . DS,
//在保存crud的是否是否直接生成文件
'crud_make' => false
'crud_make' => true
];