首页>代码>基于 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);
    }
}
最近下载更多
dapeng0011  LV13 3月2日
肸乯  LV8 1月31日
xiexiaoming05  LV14 1月26日
siximu912  LV10 1月23日
zhangwuxuan 2023年12月31日
暂无贡献等级
Jingbo Jia  LV2 2023年12月9日
1515465193  LV9 2023年11月30日
wuying8208  LV15 2023年11月28日
唐唐丶  LV33 2023年11月20日
最近浏览更多
860421  LV3 4月18日
可是不知道么  LV23 4月16日
玖零定制问题修复  LV34 4月4日
赵文俊 3月16日
暂无贡献等级
ChenZheMeng  LV3 3月9日
2771547747 3月6日
暂无贡献等级
小王wang  LV10 2月29日
dapeng0011  LV13 2月26日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友