Commit 0b304b7b by lujunyi

默认密码改为123456

parent 1dcd0214
......@@ -249,7 +249,7 @@ protected function form()
$admin = new Administrator();
$admin->username = $mobile; // 药店手机号作为管理员账号
$admin->name = $name; // 药店名称当做用户的姓名
$admin->password = bcrypt($mobile); // 设置管理员密码,默认同手机号
$admin->password = bcrypt('123456'); // 设置药店管理员默认密码
$admin->pharmacy_id = $pharmacyId; // 药店ID
$admin->save(); // 保存新管理员
......
......@@ -13,7 +13,7 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule): void
{
// $schedule->command('inspire')->hourly();
# $schedule->command('mohe:prescription')->everyMinute();
// $schedule->command('mohe:prescription')->everyMinute();
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment