From 5bf99ba60276244fa83b1cd5794b50c098705131 Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Tue, 13 Apr 2021 15:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E9=A1=B5=E9=9D=A2=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/route/indexWebController.java | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/main/java/com/tenlion/twoduty/controller/route/indexWebController.java diff --git a/src/main/java/com/tenlion/twoduty/controller/route/indexWebController.java b/src/main/java/com/tenlion/twoduty/controller/route/indexWebController.java new file mode 100644 index 0000000..4981904 --- /dev/null +++ b/src/main/java/com/tenlion/twoduty/controller/route/indexWebController.java @@ -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; + } + + + +}