mirror of
https://github.com/kekingcn/kkFileView.git
synced 2026-04-20 13:08:38 +00:00
41 lines
744 B
Java
41 lines
744 B
Java
package cn.keking.web.controller;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
/**
|
|
* 页面跳转
|
|
* @author yudian-it
|
|
* @date 2017/12/27
|
|
*/
|
|
@Controller
|
|
public class IndexController {
|
|
|
|
@GetMapping( "/index")
|
|
public String go2Index(){
|
|
return "/main/index";
|
|
}
|
|
|
|
@GetMapping( "/record")
|
|
public String go2Record(){
|
|
return "/main/record";
|
|
}
|
|
|
|
@GetMapping( "/sponsor")
|
|
public String go2Sponsor(){
|
|
return "/main/sponsor";
|
|
}
|
|
|
|
@GetMapping( "/integrated")
|
|
public String go2Integrated(){
|
|
return "/main/integrated";
|
|
}
|
|
|
|
@GetMapping( "/")
|
|
public String root() {
|
|
return "/main/index";
|
|
}
|
|
|
|
|
|
}
|