diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 834a40e96..af2e2b855 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -92,7 +92,7 @@ shiro: # 权限认证失败地址 unauthorizedUrl: /unauth # 首页地址 - indexUrl: /index + indexUrl: /web/index # 验证码开关 captchaEnabled: true # 验证码类型 math 数组计算 char 字符 diff --git a/ruoyi-cms/src/main/java/com/ruoyi/cms/controller/CmsController.java b/ruoyi-cms/src/main/java/com/ruoyi/cms/controller/CmsController.java index bb4a050d5..f1396b1f9 100644 --- a/ruoyi-cms/src/main/java/com/ruoyi/cms/controller/CmsController.java +++ b/ruoyi-cms/src/main/java/com/ruoyi/cms/controller/CmsController.java @@ -5,6 +5,7 @@ import com.ruoyi.common.utils.file.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import javax.servlet.http.HttpServletRequest; @@ -18,14 +19,17 @@ import java.net.URLEncoder; * @author ruoyi */ @Controller +@RequestMapping("/web") public class CmsController { private static final Logger log = LoggerFactory.getLogger(CmsController.class); - @RequestMapping("common/download") - public void fileDownload(String fileName, Boolean delete, HttpServletResponse response, HttpServletRequest request) - { + private String prefix = "web"; + @RequestMapping("/index") + @GetMapping() + public String user() { + return prefix + "/index"; } } diff --git a/ruoyi-cms/src/main/resources/templates/web/case/case.html b/ruoyi-cms/src/main/resources/templates/web/case/case.html new file mode 100644 index 000000000..7d25bd4b8 --- /dev/null +++ b/ruoyi-cms/src/main/resources/templates/web/case/case.html @@ -0,0 +1,272 @@ + + + + +
+ + + + + + +| 页面 | +目录 | +
|---|---|
| 首页 | +index.html | +
| 帖子相关 | +|
| 列表 | +jie/index.html | +
| 详情 | +jie/detail.html | +
| 发帖/编辑 | +jie/add.html | +
| 用户相关 | +|
| 注册 | +user/reg.html | +
| 登入 | +user/login.html | +
| 找回密码 | +user/forget.html | +
| 我的主页 | +user/home.html | +
| 用户中心 | +user/index.html | +
| 基本设置 | +user/set.html | +
| 我的消息 | +user/message.html | +
| 邮箱激活 | +user/activate.html | +
| 其它 | +|
| 案例 | +case/case.html | +
| 提示 | +other/tips.html | +
| 公告 | +other/notice.html | +
| 404 | +other/404.html | +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
贤心106次回答
+
+
贤心106次回答
+
+
贤心106次回答
+
+
贤心106次回答
+
+
贤心106次回答
+
+
贤心106次回答
+
+
贤心106次回答
+
+
贤心106次回答
+
+
贤心106次回答
+
+
贤心106次回答
+
+
贤心106次回答
+
+
贤心106次回答
+
+ + 该模版由 layui官方社区(fly.layui.com)倾情提供,只为表明我们对 layui 执着的信念、以及对未来持续加强的承诺。该模版基于 layui 搭建而成,可作为极简通用型社区的页面支撑。 +
+更新日志:
++# v3.0 2017-11-30 +* 采用 layui 2.2.3 作为 UI 支撑 +* 全面同步最新的 Fly 社区风格,各种细节得到大幅优化 +* 更友好的响应式适配能力 ++ + 下载
+ 官网:http://www.layui.com/template/fly/
+ 码云:https://gitee.com/sentsin/fly/
+ GitHub:https://github.com/layui/fly
+
+
+
+ 微信扫码关注 layui 公众号
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 页面或者数据被 纸飞机 运到火星了,啥都看不到了…
+这是一个基于 layui 的极简通用型社区页面模版
+
+
+ 认证信息:layui 作者
+ ++ 66666 飞吻 + 2015-6-17 加入 + 来自杭州 +
+ +(人生仿若一场修行)
+ + + ++ 1分钟前 + 在tips能同时渲染多个吗?中回答: +
++full: true ++ 文档没有提及 +
+ 5分钟前 + 在在Fly社区用的是什么系统啊?中回答: +
++ Absolutely回答了您的求解layui后台框架 ++
1小时前删除
++ 系统消息:欢迎使用 layui ++
1小时前删除
+