修改root为超级管理员
This commit is contained in:
parent
74df1ee9bb
commit
0f9cceb611
@ -148,7 +148,7 @@ namespace PBAnaly.LoginCommon
|
|||||||
command.Parameters.AddWithValue("@Password", "root"); // 示例密码
|
command.Parameters.AddWithValue("@Password", "root"); // 示例密码
|
||||||
command.Parameters.AddWithValue("@CreatedBy", "System");
|
command.Parameters.AddWithValue("@CreatedBy", "System");
|
||||||
command.Parameters.AddWithValue("@CreatedDate", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
|
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("@PasswordQuestion", "我的名字");
|
||||||
command.Parameters.AddWithValue("@QuestionAnswer", "root");
|
command.Parameters.AddWithValue("@QuestionAnswer", "root");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user