From 0f9cceb6119050eb10e609a5dd2f0f63bc1bc317 Mon Sep 17 00:00:00 2001 From: cloud301530 <2690004082@qq.com> Date: Mon, 23 Dec 2024 20:51:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9root=E4=B8=BA=E8=B6=85?= =?UTF-8?q?=E7=BA=A7=E7=AE=A1=E7=90=86=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/PBAnaly/LoginCommon/UserManage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PBAnaly/LoginCommon/UserManage.cs b/src/PBAnaly/LoginCommon/UserManage.cs index dc0f7d4..df74a64 100644 --- a/src/PBAnaly/LoginCommon/UserManage.cs +++ b/src/PBAnaly/LoginCommon/UserManage.cs @@ -148,7 +148,7 @@ namespace PBAnaly.LoginCommon command.Parameters.AddWithValue("@Password", "root"); // 示例密码 command.Parameters.AddWithValue("@CreatedBy", "System"); command.Parameters.AddWithValue("@CreatedDate", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); - command.Parameters.AddWithValue("@Role", "Administrator"); + command.Parameters.AddWithValue("@Role", "SuperAdministrator"); command.Parameters.AddWithValue("@PasswordQuestion", "我的名字"); command.Parameters.AddWithValue("@QuestionAnswer", "root");