更新一些静态文件
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 17 KiB |
|
|
@ -333,8 +333,8 @@ switch ($step) {
|
|||
// 清理掉管理员表和用户表
|
||||
mysqli_query($conn, "truncate table {$dbPrefix}admin");
|
||||
mysqli_query($conn, "truncate table {$dbPrefix}user");
|
||||
$addAdminSql = "INSERT INTO `{$dbPrefix}admin` (`id`, `uid`,`username`,`realname`, `nickname`, `password`, `role_id`, `status`, `create_time`, `create_user`) VALUES" .
|
||||
"(1, 1,'" . $username . "', '超级管理员' ,'超级管理员','" . $password . "', 1, 1, $time, '1')";
|
||||
$addAdminSql = "INSERT INTO `{$dbPrefix}admin` (`id`, `uid`,`username`,`realname`, `nickname`, `avatar`, `password`, `role_id`, `status`, `create_time`, `create_user`) VALUES" .
|
||||
"(1, 1,'" . $username . "', '超级管理员' ,'超级管理员','/static/admin/images/logo2.png','" . $password . "', 1, 1, $time, '1')";
|
||||
$addUserSql = "INSERT INTO `{$dbPrefix}user` (`id`, `username`, `nickname`, `password`, `status`, `is_admin`, `create_time`) VALUES " .
|
||||
"(1,'" . $username . "', '超级管理员' ,'" . $password . "', 1, 1, $time);";
|
||||
//插入前台用户和管理员
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 32 KiB |