This commit is contained in:
molong
2022-11-14 20:34:53 +08:00
parent 5cee9dcfab
commit d02cf12370
18 changed files with 4081 additions and 151 deletions

View File

@@ -14,6 +14,9 @@ class Users extends Seeder
*/
public function run()
{
$user = array(
array('username' => 'admin', 'password' => password_hash('admin888', PASSWORD_DEFAULT), 'nickname' => '超级管理员', 'email' => 'admin@admin.com')
);
$this->table('users')->insert($user)->save();
}
}