From 2a6b0bbd63c998e4d91b27df5a75a6949c2c48ed Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Wed, 5 Aug 2020 22:48:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=80=9A=E7=94=A8=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../route/CommonRouteController.java | 32 +++ .../templates/common/list-select-user.html | 226 ++++++++++++++++++ 2 files changed, 258 insertions(+) create mode 100644 cloud-common/src/main/java/com/cm/common/controller/route/CommonRouteController.java create mode 100644 cloud-common/src/main/resources/templates/common/list-select-user.html diff --git a/cloud-common/src/main/java/com/cm/common/controller/route/CommonRouteController.java b/cloud-common/src/main/java/com/cm/common/controller/route/CommonRouteController.java new file mode 100644 index 0000000..c30d963 --- /dev/null +++ b/cloud-common/src/main/java/com/cm/common/controller/route/CommonRouteController.java @@ -0,0 +1,32 @@ +package com.cm.common.controller.route; + +import com.cm.common.constants.ISystemConstant; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.servlet.ModelAndView; + +/** + * When you feel like quitting. Think about why you started + * 当你想要放弃的时候,想想当初你为何开始 + * + * @ClassName: CommonRouteController + * @Description: + * @Author: WangGeng + * @Date: 2020/8/4 1:46 下午 + * @Version: 1.0 + **/ +@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "通用路由") +@Controller +@RequestMapping(ISystemConstant.ROUTE_PREFIX + "/common") +public class CommonRouteController { + + @ApiOperation(value = "选择用户列表") + @GetMapping("listselectuser") + public ModelAndView listUser() { + return new ModelAndView("common/list-select-user"); + } + +} diff --git a/cloud-common/src/main/resources/templates/common/list-select-user.html b/cloud-common/src/main/resources/templates/common/list-select-user.html new file mode 100644 index 0000000..652d7ec --- /dev/null +++ b/cloud-common/src/main/resources/templates/common/list-select-user.html @@ -0,0 +1,226 @@ + + + + + + + + + + + + + +
+
+
+
+
+
+
+ +
+ + +
+
+
+
+
+
+
+ + + + \ No newline at end of file