From 7c35519e657e3f0ee9f36a3b40f5ed96e7ff2b44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8A=80=E6=9C=AF=E8=80=81=E8=83=A1?= <1094551889@qq.com> Date: Fri, 7 Mar 2025 21:22:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- app/controller/InstallController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);