mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 05:50:50 +00:00
修改
This commit is contained in:
parent
9f48ba4270
commit
692f4bf77e
@ -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')
|
||||
],
|
||||
];
|
||||
|
||||
@ -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
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user