更新readme教程;更新layui

This commit is contained in:
augushong
2020-01-17 20:15:48 +08:00
parent 3835ec3126
commit 683ef8f200
37 changed files with 195 additions and 104 deletions

View File

@@ -32,7 +32,7 @@ class CreateTableAdmin extends Migrator
$table->addColumn('account','string',['limit'=>20,'comment'=>'用户帐号']);
$table->addColumn('password','string',['limit'=>32,'comment'=>'密码']);
$table->addColumn('salt','string',['limit'=>6,'comment'=>'密码盐']);
$table->addColumn('nickname','string',['limit'=>10,'comment'=>'昵称']);
$table->addColumn('nickname','string',['limit'=>10,'default'=>"admin",'comment'=>'昵称']);
$table->addColumn('avatar','string',['limit'=>40,'comment'=>'头像地址']);
$table->addColumn('create_time','integer',['limit'=>10,'default'=>0,'comment'=>'添加时间']);
$table->addColumn('delete_time','integer',['limit'=>10,'default'=>0,'comment'=>'删除时间']);