后台页面跳转

This commit is contained in:
ly19960718 2021-04-13 15:45:51 +08:00
parent 61b22d29a4
commit 5bf99ba602

View File

@ -0,0 +1,37 @@
package com.tenlion.twoduty.controller.route;
import ink.wgink.common.base.DefaultBaseController;
import ink.wgink.interfaces.consts.ISystemConstant;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;
/**
* TODO
* @version 1.0
* @author LY
* @date 2021/4/13 15:40
*/
@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "后台页面接口")
@RestController
@RequestMapping(ISystemConstant.API_GROUP_ROUTE + "/indexWeb")
public class indexWebController extends DefaultBaseController {
@ApiOperation(value = "后台页面首页", notes = "后台页面首页接口")
@GetMapping("getindexweb")
public ModelAndView getIndexWeb(){
ModelAndView mv = new ModelAndView("web/index");
return mv;
}
}