package com.lightinit.hsdataportal.controller.open;
import org.apache.shiro.authz.annotation.RequiresAuthentication;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by WangYao on 2018/6/8.
 */
@Controller
@RequestMapping(value = "/open/demo")
public class DemoController {

    @RequiresAuthentication
    @RequestMapping(value = "index.htm")
    public String index(ModelMap model, HttpServletRequest request) {
        return "open/demo/index";
    }
}
