IndexController.java 377 B

1234567891011121314151617181920212223
  1. package com.jeff.tianti.controller;
  2. import org.springframework.stereotype.Controller;
  3. import org.springframework.web.bind.annotation.RequestMapping;
  4. /**
  5. * 后台工程欢迎页
  6. * @author Jeff Xu
  7. * @since 2017-12-02
  8. */
  9. @Controller
  10. public class IndexController {
  11. /**
  12. * 入口
  13. * @return
  14. */
  15. @RequestMapping("/index")
  16. public String index(){
  17. return "index";
  18. }
  19. }