diff --git a/app/admin/controller/Index.php b/app/admin/controller/Index.php new file mode 100644 index 0000000..448da88 --- /dev/null +++ b/app/admin/controller/Index.php @@ -0,0 +1,10 @@ + + * @copyright By CatchAdmin + * @license https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt + */ diff --git a/app/admin/route/index.php b/app/admin/route/index.php new file mode 100644 index 0000000..d0d1e02 --- /dev/null +++ b/app/admin/route/index.php @@ -0,0 +1,10 @@ + + * @copyright By CatchAdmin + * @license https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt + */ diff --git a/catch/user/database/migrations/20191128114204_users.php b/catch/user/database/migrations/20191128114204_users.php index 5603290..ba6a2a6 100644 --- a/catch/user/database/migrations/20191128114204_users.php +++ b/catch/user/database/migrations/20191128114204_users.php @@ -35,7 +35,7 @@ class Users extends Migrator ->addColumn('creator_id', 'integer',['default' => 0, 'comment'=>'创建人ID']) ->addColumn('department_id', 'integer',['default' => 0, 'comment'=>'部门ID']) ->addColumn('status', 'boolean',array('limit' => 1,'default'=> 1,'comment'=>'用户状态 1 正常 2 禁用')) - ->addColumn('last_login_ip', 'string',array('limit' => 30,'default'=>0,'comment'=>'最后登录IP')) + ->addColumn('last_login_ip', 'string',array('limit' => 50,'default'=>0,'comment'=>'最后登录IP')) ->addColumn('last_login_time', 'integer',array('default'=>0,'comment'=>'最后登录时间', 'signed' => false)) ->addColumn('created_at', 'integer', array('default'=>0,'comment'=>'创建时间', 'signed' => false )) ->addColumn('updated_at', 'integer', array('default'=>0,'comment'=>'更新时间', 'signed' => false))