diff --git a/.env b/.env index 292a32f..52e0b6e 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -APP_DEBUG = false +APP_DEBUG = true DB_TYPE = mysql DB_HOST = 127.0.0.1 diff --git a/app/controller/InstallController.php b/app/controller/InstallController.php index 9f9262f..716e1a6 100644 --- a/app/controller/InstallController.php +++ b/app/controller/InstallController.php @@ -309,7 +309,7 @@ EOT; 'create_time' => date('Y-m-d H:i:s'), ]; - $sql = "INSERT INTO `mpay_user` (`id`, `pid`, `secret_key`, `nickname`, `username`, `password`, `state`, `role`) VALUES (1, 1000, :secret_key, :nickname, :username, :password, 1, 1);"; + $sql = "INSERT INTO `mpay_user` (`id`, `pid`, `secret_key`, `nickname`, `username`, `password`, `state`, `role`, `create_time`) VALUES (1, 1000, :secret_key, :nickname, :username, :password, 1, 1, :create_time);"; try { $db->execute($sql, $info);