package com.dgtly.web.controller.monitor;

import com.dgtly.common.core.controller.BaseController;
import com.dgtly.framework.web.domain.Server;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 缓存清理
 * 
 * @author ruoyi
 */
@Controller
@RequestMapping("/monitor/clearStorage")
public class clearStorageController extends BaseController
{
    private String prefix = "monitor/clearStorage";

    @RequiresPermissions("monitor:clearStorage:view")
    @GetMapping()
    public String clearStorage()
    {
        return prefix + "/clearStorage";
    }
}
