本篇文章为你整理了用户后台管理()的详细内容,包含有 用户后台管理,希望能帮助你了解 用户后台管理。
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
* @Author: XiaoMin
* @PRODUCT_NAME: IntelliJ IDEA
* @PROJECT_NAME: UserManagement
* @Date_Time: 2022/5/28 23:13
public class LoginHandlerInterceptor implements HandlerInterceptor {
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
Object loginUser = request.getSession().getAttribute("loginUser");
if (loginUser == null) {//没有登陆
request.setAttribute("msg","没有权限,请先登录");
request.getRequestDispatcher("/index.html").forward(request,response);
return false;
}else {
return true;
2.MVC的配置类
package com.xiaomin.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
* @Author: XiaoMin
* @PRODUCT_NAME: IntelliJ IDEA
* @PROJECT_NAME: UserManagement
* @Date_Time: 2022/5/28 23:11
@Configuration
public class MyMVCConfig implements WebMvcConfigurer {
@Override
public void addViewControllers(ViewControllerRegistry registry) {
registry.addViewController("/").setViewName("index");
registry.addViewController("/index.html").setViewName("index");
registry.addViewController("/main.html").setViewName("main");
registry.addViewController("/main").setViewName("main");
registry.addViewController("/member_add").setViewName("X-Admin/member-add");
registry.addViewController("/member_show").setViewName("X-Admin/member-show");
registry.addViewController("/member_edit").setViewName("X-Admin/member-edit");
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new LoginHandlerInterceptor())
.addPathPatterns("/**")
.excludePathPatterns(
"/index.html","/registered.html","/","/user/login",
"/user/register","/register",
"/font/*","/css/*","/images/*","/js/*");
3.登录控制器
package com.xiaomin.controller;
import com.xiaomin.dao.UserDao;
import com.xiaomin.pojo.User;
import com.xiaomin.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpSession;
* @Author: XiaoMin
* @PRODUCT_NAME: IntelliJ IDEA
* @PROJECT_NAME: UserManagement
* @Date_Time: 2022/5/28 11:23
@Controller
public class LoginController {
@Autowired
private UserService userService;
@RequestMapping("/user/login")
public String login(
@RequestParam("userName") String userName,
@RequestParam("password") String password,
Model model, HttpSession session){
User userLogin = userService.login(userName, password);
if (userName.equals("XiaoMin")
password.equals("1314520")){
session.setAttribute("loginUser",userName);
return "redirect:/main.html";
}else if (userLogin!=null userLogin.getIdentity()==1 userLogin.getStatus()==1){
session.setAttribute("loginUser",userName);
return "redirect:/main.html";
}else if (userLogin!=null userLogin.getIdentity()==0){
model.addAttribute("msg","您的权限不够,请使用管理员账户登录");
return "index";
}else if (userLogin!=null userLogin.getIdentity()==1 userLogin.getStatus()==0){
model.addAttribute("msg","您的账号已停用,请联系XiaoMin大BOSS修改");
return "index";
}else {
model.addAttribute("msg","用户名或密码错误");
return "index";
@RequestMapping("/user/logout")
public String logout(HttpSession session){
session.invalidate();
return "redirect:/index.html";
4.用户控制器=== 控制一些请求等操作CRUD
package com.xiaomin.controller;
import com.xiaomin.dao.UserDao;
import com.xiaomin.mapper.UserMapper;
import com.xiaomin.pojo.User;
import com.xiaomin.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
* @Author: XiaoMin
* @PRODUCT_NAME: IntelliJ IDEA
* @PROJECT_NAME: UserManagement
* @Date_Time: 2022/5/29 14:07
@Controller
public class UserController {
@Autowired
private UserService userService;//注入Service
* 测试
* @return
@GetMapping("/AllUserList")
@ResponseBody
public Collection User getAllUser() {
System.out.println("进入User列表");
Collection User allUser = userService.getAllUser();
allUser.forEach(x- System.out.println(x));
return allUser;
public String toDelSelector(String ids){
System.out.println("进入了批量删除==== "+ids);
String[] id=ids.split(",");
for (String s : id) {
int i = Integer.parseInt(s);
userService.deleteUserById(i);
return "main";
@RequestMapping("/user/getUserById")
public String toGetUserById(Integer username,Model model){
User user = userService.getUserById(username);
System.out.println("============ "+username);
model.addAttribute("getUserById",user);
return "main";
5.dao层如果使用数据库的话可以不用看这一个这是一个模拟数据的
package com.xiaomin.dao;
import com.xiaomin.pojo.User;
import org.springframework.stereotype.Repository;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
* @Author: XiaoMin
* @PRODUCT_NAME: IntelliJ IDEA
* @PROJECT_NAME: UserManagement
* @Date_Time: 2022/5/28 9:47
@Repository
public class UserDao {
//模拟数据
public static Map Integer, User users=null;
static {
users=new HashMap Integer, User ();
users.put(1001,new User(1001,"XiaoMin","1314520",1,"xiaomin.spring@qq.com",1,1));
users.put(1002,new User(1002,"XiaoYan","1314520",0,"xiaomin.summer@qq.com",1,1));
users.put(1003,new User(1003,"JieNiYou","1314520",1,"xiaomin.winter@qq.com",0,0));
users.put(1004,new User(1004,"JunXin","1314520",0,"xiaomin.autumn@qq.com",0,0));
users.put(1005,new User(1005,"小敏","1314520",1,"xiaomin.spring@qq.com",0,0));
users.put(1006,new User(1006,"小艳","1314520",0,"xiaomin.winter@qq.com",0,0));
users.put(1007,new User(1007,"解你忧","1314520",1,"xiaomin.spring@qq.com",0,0));
users.put(1008,new User(1008,"君心","1314520",0,"xiaomin.summer@qq.com",0,0));
users.put(1009,new User(1009,"张三","5201314",1,"xiaomin.spring@qq.com",0,0));
users.put(1010,new User(1010,"李四","5201314",1,"xiaomin.autumn@qq.com",0,0));
users.put(1011,new User(1011,"王二麻","5201314",0,"xiaomin.spring@qq.com",0,0));
users.put(1012,new User(1012,"ZhangSan","5201314",1,"xiaomin.summer@qq.com",0,0));
users.put(1013,new User(1013,"LiSi","5201314",1,"xiaomin.autumn@qq.com",0,0));
users.put(1014,new User(1014,"WangErMa","5201314",0,"xiaomin.summer@qq.com",0,0));
//初始化id id自增
public static Integer initId=1015;
public void addUser(User user){
if (user.getId() == null) {
user.setId(initId++);
if (user.getStatus()==null){
user.setStatus(0);
users.put(user.getId(),user);
public Collection User getAllUser(){
return users.values();
public User getUserById(Integer id){
return users.get(id);
public void deleteUserById(Integer id){
users.remove(id);
6.mapper=== 定义接口
package com.xiaomin.mapper;
import com.xiaomin.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.Collection;
import java.util.List;
* @Author: XiaoMin
* @PRODUCT_NAME: IntelliJ IDEA
* @PROJECT_NAME: UserManagement
* @Date_Time: 2022/6/2 11:08
@Mapper
@Repository
public interface UserMapper {
Collection User getAllUser();
User getUserById(Integer id);
User login(String userName,String password);
void addUser(User user);
void deleteUserById(Integer id);
void updateUser(User user);
void updateUserStatusById(Integer id,Integer status);
7.userpojo== userbean层
package com.xiaomin.pojo;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;
import java.util.Date;
* @Author: XiaoMin
* @PRODUCT_NAME: IntelliJ IDEA
* @PROJECT_NAME: UserManagement
* @Date_Time: 2022/5/28 9:39
@Data
@NoArgsConstructor
@Alias("user")
public class User {
private Integer id;
private String userName;
private String password;
private Integer gender; //0:女 1:男
private String email;
private Date birth;
private Integer identity; //1:超级用户 0:普通用户
private Integer status; //1:已启用 0:已停用
public User(Integer id, String userName, String password, Integer gender, String email,Integer identity,Integer status) {
this.id = id;
this.userName = userName;
this.password = password;
this.gender = gender;
this.email = email;
//自动生成当前日期为生日
this.birth = new Date();
this.identity = identity;
this.status = status;
8.业务层(接口)
package com.xiaomin.service;
import com.xiaomin.pojo.User;
import java.util.Collection;
import java.util.List;
* @Author: XiaoMin
* @PRODUCT_NAME: IntelliJ IDEA
* @PROJECT_NAME: UserManagement
* @Date_Time: 2022/6/2 11:16
public interface UserService {
Collection User getAllUser();
User getUserById(Integer id);
User login(String userName,String password);
void addUser(User user);
void deleteUserById(Integer id);
void updateUser(User user);
void updateUserStatusById(Integer id,Integer status);
9.业务层(实现类)
package com.xiaomin.service.impl;
import com.xiaomin.mapper.UserMapper;
import com.xiaomin.pojo.User;
import com.xiaomin.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Collection;
import java.util.List;
* @Author: XiaoMin
* @PRODUCT_NAME: IntelliJ IDEA
* @PROJECT_NAME: UserManagement
* @Date_Time: 2022/6/2 11:19
@Service
public class UserServiceImpl implements UserService {
@Autowired
private UserMapper userMapper;
@Override
public Collection User getAllUser() {
return userMapper.getAllUser();
@Override
public User getUserById(Integer id) {
return userMapper.getUserById(id);
@Override
public User login(String userName,String password){
return userMapper.login(userName,password);
@Override
public void addUser(User user) {
userMapper.addUser(user);
@Override
public void deleteUserById(Integer id) {
userMapper.deleteUserById(id);
@Override
public void updateUser(User user) {
userMapper.updateUser(user);
@Override
public void updateUserStatusById(Integer id,Integer status) {
userMapper.updateUserStatusById(id,status);
10.userMapper=== 相当于操作数据库的代码
?xml version="1.0" encoding="UTF-8" ?
!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"
mapper namespace="com.xiaomin.mapper.UserMapper"
resultMap id="user" type="com.xiaomin.pojo.User"/
parameterMap id="user" type="com.xiaomin.pojo.User"/
select id="getAllUser" resultMap="user"
select * from user_tb
/select
select id="login" resultMap="user"
select userName,password,identity,status from user_tb
where userName=#{userName} and password=#{password}
/select
insert id="addUser" parameterType="User" keyProperty="id" useGeneratedKeys="true"
insert into user_tb (userName, password, gender, email, birth, identity, status)
values (#{userName}, #{password}, #{gender}, #{email}, #{birth}, #{identity}, ifnull(#{status},0));
/insert
update id="updateUser" parameterType="User"
# ifnull()防止传入空值影影响数据
update user_tb
set userName = ifnull(#{userName},userName),
password = ifnull(#{password},password),
gender = ifnull(#{gender},gender),
email = ifnull(#{email},email),
birth = ifnull(#{birth},birth),
identity = ifnull(#{identity},identity),
status = ifnull(#{status},status)
where id=#{id};
/update
delete id="deleteUserById" parameterType="User"
delete from user_tb where id=#{id};
/delete
/mapper
11.commons==== 这是一些页面都有的东西放在一个共有页面,可以直接调取
!DOCTYPE html
html lang="en" xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5"
!-- 顶部开始 --
div th:fragment="topbar"
div a href="" XiaoMin /a /div
div i #xe699; /i /div
ul lay-filter=""
!-- a href="" [[${session.loginUser}]] /a --
a href="" th:text="${session.loginUser}"/
dl !-- 二级菜单 --
dd a href="" 个人信息 /a /dd
dd a href="/" 切换帐号 /a /dd
dd a th:href="@{/user/logout}" 退出 /a /dd
/dl
/li
li a th:href="@{/main}" 前台首页 /a /li
/ul
/div
!-- 顶部结束 --
!-- 左侧菜单开始 --
div th:fragment="leftbar"
div id="side-nav"
ul id="nav"
li current
a href="/main"
i #xe761; /i
欢迎页面
i #xe697; /i
/li
li current
a th:href="@{/demo}"
i #xe761; /i
小Demo
i #xe697; /i
/li
a href="javascript:;"
i #xe70b; /i
用户管理
i #xe697; /i
a th:href="@{/list}"
i #xe6a7; /i
用户列表
/li
a th:href="@{/level}"
i #xe6a7; /i
等级管理
/li
a th:href="@{/kiss}"
i #xe6a7; /i
积分管理
/li
/ul
/li
a href="javascript:;"
i #xe6a3; /i
管理员管理
i #xe697; /i
a th:href="@{/vip-list}"
i #xe6a7; /i
管理员列表
/li
/ul
/li
a href="javascript:;"
i #xe6a3; /i
系统统计
i #xe697; /i
a th:href="@{/echarts1}"
i #xe6a7; /i
/li
a th:href="@{/echarts2}"
i #xe6a7; /i
/li
a th:href="@{/echarts4}"
i #xe6a7; /i
/li
a th:href="@{/echarts5}"
i #xe6a7; /i
/li
a th:href="@{/echarts6}"
i #xe6a7; /i
/li
/ul
/li
/ul
/div
/div
!-- 左侧菜单结束 --
!-- 右侧内容框架,更改从这里开始 --
form method="post" th:action="@{/user/getUserById}" target="_self" th:fragment="R_search"
div
div
label 日期范围 /label
div
input placeholder="开始日" id="LAY_demorange_s"
/div
div
input placeholder="截止日" id="LAY_demorange_e"
/div
div
input type="text" name="username" placeholder="请输入用户名" autocomplete="off"
/div
div
button type="submit" lay-submit="" lay-filter="search" i #xe615; /i /button
/div
/div
/div
/form
xblock th:fragment="xblockAdd"
button onclick="delAll()" i #xe640; /i 批量删除 /button
button onclick="member_add(添加用户,/member_add,600,500)" i #xe608; /i 添加 /button
!-- span 共有数据:88 条 /span --
/xblock
!--table--
thead th:fragment="thead"
input type="checkbox" id="selectAll"/
/th
th ID /th
th 用户名 /th
th 密码 /th
th 性别 /th
th 邮箱 /th
th 生日 /th
th 身份 /th
th 状态 /th
th 操作 /th
/tr
/thead
tbody th:each="user:${users}" th:fragment="id(userid)"
tr th:if="${user.identity}==${userid}"
input type="checkbox" th:value="${user.id}"
/td
td th:text="${user.id}"/
u th:onclick="member_show([[${user.userName}]],
/member_show,[[${user.userName}]],[[${user.email}]],[[${user.gender}]],
[[${user.identity}]],400,600)"
[[${user.userName}]]
/td
td th:text="${user.password}"/
td th:text="${user.gender==0?女:男}"/
td th:text="${user.email}"/
td th:text="${#dates.format(user.birth,yyyy-MM-dd)}"/
td th:text="${user.identity}==1?超级管理员:普通用户"/
span th:if="${user.status==1}" th:text="${user.status==1?已启用:已停用}"/
span th:if="${user.status==0}" th:text="${user.status==0?已停用:已启用}"/
/td
!--[[${user.userName}]],
[[${user.password}]],[[${user.gender}]],
[[${user.email}]],[[${user.birth}]],
[[${user.identity}]],--
a th:if="${user.status==1}" th:onclick="member_stop(this,[[${user.id}]],0)"
href="javascript:;" title="停用"
i #xe601; /i
!--[[${user.userName}]],
[[${user.password}]],[[${user.gender}]],
[[${user.email}]],[[${user.birth}]],
[[${user.identity}]],--
a th:if="${user.status==0}" th:onclick="member_start(this,[[${user.id}]],1)"
href="javascript:;" title="启用"
i #xe62f; /i
a title="编辑" href="javascript:;" th:onclick="member_edit(
编辑,/member_edit,
[[${user.id}]],[[${user.userName}]],
[[${user.password}]],[[${user.gender}]],
[[${user.email}]],[[${user.birth}]],
[[${user.identity}]],[[${user.status}]],
,510)"
i #xe642; /i
a title="删除" href="javascript:;" th:onclick="member_del(this,[[${user.id}]])"
i #xe640; /i
/td
/tr
/tbody
!--table--
!-- 右侧内容框架,更改从这里结束 --
/div
!-- 中部结束 --
!-- 底部开始 --
div th:fragment="footerbar"
div Copyright copy;2022 xiaomin v2.3 All Rights Reserved. /div
/div
!-- 底部结束 --
!-- 背景切换开始 --
div th:fragment="bgchange"
div
div
div img th:src="@{/X-Admin/images/a.jpg}" alt="" /div
div img th:src="@{/X-Admin/images/b.jpg}" alt="" /div
div img th:src="@{/X-Admin/images/c.jpg}" alt="" /div
div img th:src="@{/X-Admin/images/d.jpg}" alt="" /div
div img th:src="@{/X-Admin/images/e.jpg}" alt="" /div
div img th:src="@{/X-Admin/images/f.jpg}" alt="" /div
div img th:src="@{/X-Admin/images/g.jpg}" alt="" /div
div img th:src="@{/X-Admin/images/h.jpg}" alt="" /div
div img th:src="@{/X-Admin/images/i.jpg}" alt="" /div
div img th:src="@{/X-Admin/images/j.jpg}" alt="" /div
div img th:src="@{/X-Admin/images/k.jpg}" alt="" /div
div img th:src="@{/X-Admin/images/l.jpg}" alt="" /div
div span 初始化 /span /div
/div
/div
div /div
div id="changer-set" i #xe696; /i /div
/div
!-- 背景切换结束 --
/html
12.自定义错误页面直接建文件夹和404.html
13.登录页
!DOCTYPE html
html lang="en" xmlns:th="http://www.thymeleaf.org"
head
meta charset="utf-8"
meta http-equiv="X-UA-Compatible" content="IE=edge"
meta name="viewport" content="width=device-width, initial-scale=1"
link th:href="@{/css/bootstrap.min.css}" type="text/css" rel="stylesheet"
link th:href="@{/css/font-awesome.min.css}" type="text/javascript" rel="stylesheet"
link th:href="@{/css/bootsnav.css}" type="text/css" rel="stylesheet"
link th:href="@{/css/normalize.css}" type="text/css" rel="stylesheet"
link th:href="@{/css/css.css}" rel="stylesheet" type="text/css"
script th:src="@{/js/jquery-1.11.0.min.js}" type="text/javascript" /script
script th:src="@{/js/bootstrap.min.js}" type="text/javascript" /script
script th:src="@{/js/bootsnav.js}" type="text/javascript" /script
script th:src="@{/js/jquery.js}" type="text/javascript" /script
script th:src="@{/js/html5.js}" type="text/javascript" /script
title 登录 /title
/head
body
div id="large-header"
canvas id="demo-canvas" width="1590" height="711" /canvas
div
div
h1 账户登录 /h1
form th:action="@{/user/login}" method="post" role="form" id="form_login"
div
div
div
i /i
/div
input type="text" name="userName" id="username" placeholder="用户名" autocomplete="off" required="" autofocus="" value="XiaoMin"
/div
/div
div
div
div
i /i
/div
input type="password" name="password" id="password" placeholder="密码" required="" autocomplete="off" value="1314520"
/div
/div
div a href="" 忘记密码? /a /div
div /div
div
p th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"/
input type="submit" value="登录"/
/div
div a th:href="@{/user/register}" 立即注册 /a /div
div
/div
/form
/div
/div
/div
script th:src="@{/js/TweenLite/TweenLite.min.js}" /script
script th:src="@{/js/TweenLite/EasePack.min.js}" /script
script th:src="@{/js/TweenLite/rAF.js}" /script
script th:src="@{/js/TweenLite/demo-1.js}" /script
/body
/html
14.主页面main
!doctype html
html lang="en" xmlns:th="http://www.thymeleaf.org"
head
meta charset="UTF-8"
title 首页 /title
meta name="viewport" content="width=device-width, initial-scale=1.0"
link rel="shortcut icon" th:href="@{/favicon.ico}" type="image/x-icon" /
link rel="stylesheet" th:href="@{/X-Admin/css/font.css}"
link rel="stylesheet" th:href="@{/X-Admin/css/xadmin.css}"
link rel="stylesheet" th:href="@{https://cdn.bootcss.com/Swiper/3.4.2/css/swiper.min.css}"
script type="text/javascript" th:src="@{https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js}" /script
script type="text/javascript" th:src="@{https://cdn.bootcss.com/Swiper/3.4.2/js/swiper.jquery.min.js}" /script
script th:src="@{/X-Admin/lib/layui/layui.js}" charset="utf-8" /script
script type="text/javascript" th:src="@{/X-Admin/js/xadmin.js}" /script
/head
body
!-- 顶部开始 --
div th:replace="~{/commons/commons::topbar}"/
!-- 顶部结束 --
!-- 中部开始 --
div
!-- 左侧菜单开始 --
div th:replace="~{/commons/commons::leftbar}"/
!-- 左侧菜单结束 --
!-- 右侧主体开始 --
div
div
!-- 右侧内容框架,更改从这里开始 --
blockquote
注意:每个页面都可以独立设置一个背景主题,如果每个都设置会比较消耗本地的存储,如果想全部恢复,请重置。
/blockquote
blockquote
欢迎使用XiaoMin后台管理系统! span v18.0 /span
/blockquote
fieldset
legend a name="default" 信息统计 /a /legend
/fieldset
table
thead
th 统计 /th
th 资讯库 /th
th 图片库 /th
th 产品库 /th
th 用户 /th
th 管理员 /th
/tr
/thead
tbody
td 总数 /td
td 92 /td
td 9 /td
td 0 /td
td 8 /td
td 20 /td
/tr
td 今日 /td
td 0 /td
td 0 /td
td 0 /td
td 0 /td
td 0 /td
/tr
td 昨日 /td
td 0 /td
td 0 /td
td 0 /td
td 0 /td
td 0 /td
/tr
td 本周 /td
td 2 /td
td 0 /td
td 0 /td
td 0 /td
td 0 /td
/tr
td 本月 /td
td 2 /td
td 0 /td
td 0 /td
td 0 /td
td 0 /td
/tr
/tbody
/table
table
thead
th colspan="2" scope="col" 服务器信息 /th
/tr
/thead
tbody
th width="30%" 服务器计算机名 /th
td span id="lbServerName" http://127.0.0.1/ /span /td
/tr
td 服务器IP地址 /td
td 192.168.1.1 /td
/tr
td 服务器域名 /td
td jieniyou /td
/tr
td 服务器端口 /td
td 80 /td
/tr
td 服务器IIS版本 /td
td Microsoft-IIS/6.0 /td
/tr
td 本文件所在文件夹 /td
td 本地 /td
/tr
td 服务器操作系统 /td
td Microsoft Windows NT 5.2.3790 Service Pack 2 /td
/tr
td 系统所在文件夹 /td
td C:\WINDOWS\system32 /td
/tr
td 服务器脚本超时时间 /td
td 30000秒 /td
/tr
td 服务器的语言种类 /td
td Chinese (Peoples Republic of China) /td
/tr
td .NET Framework 版本 /td
td 2.050727.3655 /td
/tr
td 服务器当前时间 /td
td /td
/tr
td 服务器IE版本 /td
td 6.0000 /td
/tr
td 服务器上次启动到现在已运行 /td
td 7210分钟 /td
/tr
td 逻辑驱动器 /td
td C:\D:\ /td
/tr
td CPU 总数 /td
td 4 /td
/tr
td CPU 类型 /td
td x86 Family 6 Model 42 Stepping 1, GenuineIntel /td
/tr
td 虚拟内存 /td
td 52480M /td
/tr
td 当前程序占用内存 /td
td 3.29M /td
/tr
td Asp.net所占内存 /td
td 51.46M /td
/tr
td 当前Session数量 /td
td 8 /td
/tr
td 当前SessionID /td
td 无 /td
/tr
td 当前系统用户名 /td
td NETWORK SERVICE /td
/tr
/tbody
/table
!-- 右侧内容框。
郑重声明:本文由网友发布,不代表盛行IT的观点,版权归原作者所有,仅为传播更多信息之目的,如有侵权请联系,我们将第一时间修改或删除,多谢。