package com.izouma.awesomeadmin.web;

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


/**
 * 首页
 * Created by xiong on 2016/10/26.
 */
@Controller
public class MainController {



    @RequestMapping(value = "/index", method = RequestMethod.GET)
    @ResponseBody
    public ModelAndView home() {
        return new ModelAndView("html/house.html");
    }



}
