package cn.edu.whu.boot.collection.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by AJQK on 2018/5/31.
 */
@RequestMapping("/")
@Controller
public class DefaultController {

    @RequestMapping
    public ModelAndView homepage(){
        return new ModelAndView("redirect:index.html");
    }
}
