package com.bofeng.controller;

import com.bofeng.Consts;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
@RequiresPermissions(Consts.USER_TYPE_ADMIN)
public class AdminSettingController {

    @GetMapping("/admin/setting.html")
    public ModelAndView adminUser() {
        return new ModelAndView("/admin/setting.ftl");
    }

}
