Compare commits
3 Commits
v1
...
layui_vers
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fd35d91f1c | ||
![]() |
f6e3ee1225 | ||
![]() |
7b782e916a |
@@ -42,6 +42,6 @@ remove 'NO_ZERO_IN_DATE,NO_ZERO_DATE'
|
|||||||
|
|
||||||
## 体验地址
|
## 体验地址
|
||||||
|
|
||||||
[体验地址](http://catch.njphper.com/login)
|
[体验地址](http://demo.catchadmin.com/login)
|
||||||
- 账号: test@catch.com
|
- 账号: test@catch.com
|
||||||
- 密码: 123456
|
- 密码: 123456
|
@@ -88,7 +88,7 @@ class Role extends CatchController
|
|||||||
$form = new CatchForm();
|
$form = new CatchForm();
|
||||||
$form->formId('role');
|
$form->formId('role');
|
||||||
$form->hidden('parent_id')->default($role->parent_id);
|
$form->hidden('parent_id')->default($role->parent_id);
|
||||||
$form->text('role_name', '角色名称', true)->default($role->name)->verify('required')->placeholder('请输入角色名称');
|
$form->text('role_name', '角色名称', true)->default($role->role_name)->verify('required')->placeholder('请输入角色名称');
|
||||||
$form->textarea('description', '角色描述')->default($role->description)->placeholder('请输入角色描述');
|
$form->textarea('description', '角色描述')->default($role->description)->placeholder('请输入角色描述');
|
||||||
$form->dom('<div id="permissions"></div>', '权限');
|
$form->dom('<div id="permissions"></div>', '权限');
|
||||||
$form->formBtn('submitRole');
|
$form->formBtn('submitRole');
|
||||||
|
@@ -30,7 +30,7 @@ class OperateLog extends Migrator
|
|||||||
{
|
{
|
||||||
$table = $this->table('operate_log',['engine'=>'Myisam', 'comment' => '操作日志', 'signed' => false]);
|
$table = $this->table('operate_log',['engine'=>'Myisam', 'comment' => '操作日志', 'signed' => false]);
|
||||||
$table->addColumn('module', 'string',['limit' => 50,'default'=>'','comment'=>'模块名称'])
|
$table->addColumn('module', 'string',['limit' => 50,'default'=>'','comment'=>'模块名称'])
|
||||||
->addColumn('operate', 'string',['default'=> '', 'limit' => 20, 'comment'=>'操作模块'])
|
->addColumn('operate', 'string',['default'=> '', 'limit' => 100, 'comment'=>'操作模块'])
|
||||||
->addColumn('route', 'string',['default'=> '','limit' => 20, 'comment'=>'路由'])
|
->addColumn('route', 'string',['default'=> '','limit' => 20, 'comment'=>'路由'])
|
||||||
->addColumn('params', 'string',['default'=> '','limit' => 1000, 'comment'=>'参数'])
|
->addColumn('params', 'string',['default'=> '','limit' => 1000, 'comment'=>'参数'])
|
||||||
->addColumn('ip', 'string',['default'=>'', 'limit' => 20,'comment'=>'ip', 'signed' => false])
|
->addColumn('ip', 'string',['default'=>'', 'limit' => 20,'comment'=>'ip', 'signed' => false])
|
||||||
|
Reference in New Issue
Block a user