mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2026-04-12 11:07:23 +00:00
46 lines
844 B
Java
46 lines
844 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( "/contact")
|
|
public String go2Contact(){
|
|
return "/main/contact";
|
|
}
|
|
|
|
@GetMapping( "/")
|
|
public String root() {
|
|
return "/main/index";
|
|
}
|
|
|
|
|
|
}
|