首页>代码>基于 SpringBoot + vue 企业信息管理系统>/liawan-vue/liawan-admin/src/main/java/com/javapub/liawan/admin/controller/monitor/ServerController.java
package com.javapub.liawan.admin.controller.monitor;

import com.javapub.liawan.common.core.domain.AjaxResult;
import com.javapub.liawan.framework.web.domain.Server;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 服务器监控
 *
 * @author ruoyi
 */
@RestController
@RequestMapping("/monitor/server")
public class ServerController {
    @PreAuthorize("@ss.hasPermi('monitor:server:list')")
    @GetMapping()
    public AjaxResult getInfo() throws Exception {
        Server server = new Server();
        server.copyTo();
        return AjaxResult.success(server);
    }
}
最近下载更多
mlml123  LV6 8月20日
TY0165  LV20 6月17日
vacalono  LV1 5月16日
wanglinddad  LV55 5月14日
寒于水  LV2 5月13日
1222222tcyy  LV8 5月2日
dapeng0011  LV15 3月2日
肸乯  LV8 1月31日
xiexiaoming05  LV14 1月26日
最近浏览更多
Sul_ALL  LV1 前天
black8angel  LV4 9月3日
976525921 8月27日
暂无贡献等级
2775645521  LV7 8月25日
绝对零度  LV4 8月23日
mlml123  LV6 8月20日
denliv_hui  LV13 8月19日
Sean_admin  LV7 8月8日
255921158  LV4 7月17日
zz123456ZWJ 7月12日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友