From 8f45afced0c6a4085560c62dbd58e6ef0f4cecf4 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期三, 19 二月 2025 16:26:23 +0800 Subject: [PATCH] 提交基础版本 --- ruoyi-admin/src/main/resources/application.yml | 41 ++++++++++++++++++++++++++++++----------- 1 files changed, 30 insertions(+), 11 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 8fee864..91217c5 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -3,9 +3,9 @@ # 名称 name: RuoYi # 版本 - version: 4.8.0 + version: 4.7.9 # 版权年份 - copyrightYear: 2025 + copyrightYear: 2024 # 实例演示开关 demoEnabled: true # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) @@ -16,7 +16,7 @@ # 开发环境配置 server: # 服务器的HTTP端口,默认为80 - port: 80 + port: 3000 servlet: # 应用的访问路径 context-path: / @@ -45,6 +45,11 @@ # Spring配置 spring: + application: + name: ruoyi + # 循环依赖 + main: + allow-circular-references: true # 模板引擎 thymeleaf: mode: HTML @@ -72,15 +77,13 @@ restart: # 热部署开关 enabled: true + + +mybatis-plus: + type-aliases-package: com.ruoyi.**.domain + mapper-locations: classpath*:mapper/**/**.xml -# MyBatis -mybatis: - # 搜索指定包别名 - typeAliasesPackage: com.ruoyi.**.domain - # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapperLocations: classpath*:mapper/**/*Mapper.xml - # 加载全局的配置文件 - configLocation: classpath:mybatis/mybatis-config.xml + # PageHelper分页插件 pagehelper: @@ -126,6 +129,7 @@ rememberMe: # 是否开启记住我 enabled: true + # 防止XSS攻击 xss: @@ -140,3 +144,18 @@ swagger: # 是否开启swagger enabled: true + +## redis +--- +spring: + redis: + database: 0 + host: 127.0.0.1 + port: 6379 + password: 123456 + jedis: + pool: + max-active: 20 + max-idle: 20 + max-wait: 60s + min-idle: 5 -- Gitblit v1.7.1