feat:项目1.11

feature/comment
ChenYan 2024-12-28 13:12:46 +08:00
parent 006c7004ba
commit 1c93d5b555
268 changed files with 962 additions and 1028 deletions

View File

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2018 RuoYi
Copyright (c) 2018 McWl
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in

View File

@ -1,30 +1,14 @@
<p align="center">
<img alt="logo" src="https://oscimg.oschina.net/oscnet/up-d3d0a9303e11d522a06cd263f3079027715.png">
</p>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">RuoYi v3.8.8</h1>
<h4 align="center">基于SpringBoot+Vue前后端分离的Java快速开发框架</h4>
<p align="center">
<a href="https://gitee.com/y_project/RuoYi-Vue/stargazers"><img src="https://gitee.com/y_project/RuoYi-Vue/badge/star.svg?theme=dark"></a>
<a href="https://gitee.com/y_project/RuoYi-Vue"><img src="https://img.shields.io/badge/RuoYi-v3.8.8-brightgreen.svg"></a>
<a href="https://gitee.com/y_project/RuoYi-Vue/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mashape/apistatus.svg"></a>
</p>
## 平台简介
若依是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。
* 前端采用Vue、Element UI。
* 后端采用Spring Boot、Spring Security、Redis & Jwt。
* 权限认证使用Jwt支持多终端认证系统。
* 支持加载动态权限菜单,多方式轻松权限控制。
* 高效率开发,使用代码生成器可以一键生成前后端代码。
* 提供了技术栈([Vue3](https://v3.cn.vuejs.org) [Element Plus](https://element-plus.org/zh-CN) [Vite](https://cn.vitejs.dev))版本[RuoYi-Vue3](https://gitcode.com/yangzongzhuan/RuoYi-Vue3),保持同步更新。
* 提供了单应用版本[RuoYi-Vue-fast](https://gitcode.com/yangzongzhuan/RuoYi-Vue-fast)Oracle版本[RuoYi-Vue-Oracle](https://gitcode.com/yangzongzhuan/RuoYi-Vue-Oracle),保持同步更新。
* 不分离版本,请移步[RuoYi](https://gitee.com/y_project/RuoYi),微服务版本,请移步[RuoYi-Cloud](https://gitee.com/y_project/RuoYi-Cloud)
* 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)&nbsp;&nbsp;
* 提供了技术栈([Vue3](https://v3.cn.vuejs.org) [Element Plus](https://element-plus.org/zh-CN) [Vite](https://cn.vitejs.dev))版本[McWl-Vue3](https://gitcode.com/yangzongzhuan/McWl-Vue3),保持同步更新。
* 提供了单应用版本[McWl-Vue-fast](https://gitcode.com/yangzongzhuan/McWl-Vue-fast)Oracle版本[McWl-Vue-Oracle](https://gitcode.com/yangzongzhuan/McWl-Vue-Oracle),保持同步更新。
* 不分离版本,请移步[McWl](https://gitee.com/y_project/McWl),微服务版本,请移步[McWl-Cloud](https://gitee.com/y_project/McWl-Cloud)
* 阿里云折扣场:[点我进入](http://aly.mcwl.vip),腾讯云秒杀场:[点我进入](http://txy.mcwl.vip)&nbsp;&nbsp;
## 内置功能
1. 用户管理:用户是系统操作者,该功能主要完成系统用户配置。
2. 部门管理:配置系统组织机构(公司、部门、小组),树结构展现支持数据权限。
3. 岗位管理:配置系统用户所属担任职务。
@ -43,53 +27,3 @@
16. 缓存监控:对系统的缓存信息查询,命令统计等。
17. 在线构建器拖动表单元素生成相应的HTML代码。
18. 连接池监视监视当前系统数据库连接池状态可进行分析SQL找出系统性能瓶颈。
## 在线体验
- admin/admin123
- 陆陆续续收到一些打赏,为了更好的体验已用于演示服务器升级。谢谢各位小伙伴。
演示地址http://vue.ruoyi.vip
文档地址http://doc.ruoyi.vip
## 演示图
<table>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/cd1f90be5f2684f4560c9519c0f2a232ee8.jpg"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/1cbcf0e6f257c7d3a063c0e3f2ff989e4b3.jpg"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-8074972883b5ba0622e13246738ebba237a.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-9f88719cdfca9af2e58b352a20e23d43b12.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-39bf2584ec3a529b0d5a3b70d15c9b37646.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-936ec82d1f4872e1bc980927654b6007307.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-b2d62ceb95d2dd9b3fbe157bb70d26001e9.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-d67451d308b7a79ad6819723396f7c3d77a.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/5e8c387724954459291aafd5eb52b456f53.jpg"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/644e78da53c2e92a95dfda4f76e6d117c4b.jpg"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-8370a0d02977eebf6dbf854c8450293c937.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-49003ed83f60f633e7153609a53a2b644f7.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/up-d4fe726319ece268d4746602c39cffc0621.png"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-c195234bbcd30be6927f037a6755e6ab69c.png"/></td>
</tr>
<tr>
<td><img src="https://oscimg.oschina.net/oscnet/b6115bc8c31de52951982e509930b20684a.jpg"/></td>
<td><img src="https://oscimg.oschina.net/oscnet/up-5e4daac0bb59612c5038448acbcef235e3a.png"/></td>
</tr>
</table>
## 若依前后端分离交流群
QQ群 [![加入QQ群](https://img.shields.io/badge/已满-937441-blue.svg)](https://jq.qq.com/?_wv=1027&k=5bVB1og) [![加入QQ群](https://img.shields.io/badge/已满-887144332-blue.svg)](https://jq.qq.com/?_wv=1027&k=5eiA4DH) [![加入QQ群](https://img.shields.io/badge/已满-180251782-blue.svg)](https://jq.qq.com/?_wv=1027&k=5AxMKlC) [![加入QQ群](https://img.shields.io/badge/已满-104180207-blue.svg)](https://jq.qq.com/?_wv=1027&k=51G72yr) [![加入QQ群](https://img.shields.io/badge/已满-186866453-blue.svg)](https://jq.qq.com/?_wv=1027&k=VvjN2nvu) [![加入QQ群](https://img.shields.io/badge/已满-201396349-blue.svg)](https://jq.qq.com/?_wv=1027&k=5vYAqA05) [![加入QQ群](https://img.shields.io/badge/已满-101456076-blue.svg)](https://jq.qq.com/?_wv=1027&k=kOIINEb5) [![加入QQ群](https://img.shields.io/badge/已满-101539465-blue.svg)](https://jq.qq.com/?_wv=1027&k=UKtX5jhs) [![加入QQ群](https://img.shields.io/badge/已满-264312783-blue.svg)](https://jq.qq.com/?_wv=1027&k=EI9an8lJ) [![加入QQ群](https://img.shields.io/badge/已满-167385320-blue.svg)](https://jq.qq.com/?_wv=1027&k=SWCtLnMz) [![加入QQ群](https://img.shields.io/badge/已满-104748341-blue.svg)](https://jq.qq.com/?_wv=1027&k=96Dkdq0k) [![加入QQ群](https://img.shields.io/badge/已满-160110482-blue.svg)](https://jq.qq.com/?_wv=1027&k=0fsNiYZt) [![加入QQ群](https://img.shields.io/badge/已满-170801498-blue.svg)](https://jq.qq.com/?_wv=1027&k=7xw4xUG1) [![加入QQ群](https://img.shields.io/badge/已满-108482800-blue.svg)](https://jq.qq.com/?_wv=1027&k=eCx8eyoJ) [![加入QQ群](https://img.shields.io/badge/已满-101046199-blue.svg)](https://jq.qq.com/?_wv=1027&k=SpyH2875) [![加入QQ群](https://img.shields.io/badge/已满-136919097-blue.svg)](https://jq.qq.com/?_wv=1027&k=tKEt51dz) [![加入QQ群](https://img.shields.io/badge/已满-143961921-blue.svg)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=0vBbSb0ztbBgVtn3kJS-Q4HUNYwip89G&authKey=8irq5PhutrZmWIvsUsklBxhj57l%2F1nOZqjzigkXZVoZE451GG4JHPOqW7AW6cf0T&noverify=0&group_code=143961921) [![加入QQ群](https://img.shields.io/badge/已满-174951577-blue.svg)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=ZFAPAbp09S2ltvwrJzp7wGlbopsc0rwi&authKey=HB2cxpxP2yspk%2Bo3WKTBfktRCccVkU26cgi5B16u0KcAYrVu7sBaE7XSEqmMdFQp&noverify=0&group_code=174951577) [![加入QQ群](https://img.shields.io/badge/已满-161281055-blue.svg)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=Fn2aF5IHpwsy8j6VlalNJK6qbwFLFHat&authKey=uyIT%2B97x2AXj3odyXpsSpVaPMC%2Bidw0LxG5MAtEqlrcBcWJUA%2FeS43rsF1Tg7IRJ&noverify=0&group_code=161281055) [![加入QQ群](https://img.shields.io/badge/已满-138988063-blue.svg)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=XIzkm_mV2xTsUtFxo63bmicYoDBA6Ifm&authKey=dDW%2F4qsmw3x9govoZY9w%2FoWAoC4wbHqGal%2BbqLzoS6VBarU8EBptIgPKN%2FviyC8j&noverify=0&group_code=138988063) [![加入QQ群](https://img.shields.io/badge/151450850-blue.svg)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=DkugnCg68PevlycJSKSwjhFqfIgrWWwR&authKey=pR1Pa5lPIeGF%2FFtIk6d%2FGB5qFi0EdvyErtpQXULzo03zbhopBHLWcuqdpwY241R%2F&noverify=0&group_code=151450850) 点击按钮入群。

View File

@ -7,16 +7,16 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class RuoYiApplication
public class McWlApplication
{
public static void main(String[] args)
{
// System.setProperty("spring.devtools.restart.enabled", "false");
SpringApplication.run(RuoYiApplication.class, args);
System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" +
SpringApplication.run(McWlApplication.class, args);
System.out.println("(♥◠‿◠)ノ゙ 魔创未来启动成功 ლ(´ڡ`ლ)゙ \n" +
" .-------. ____ __ \n" +
" | _ _ \\ \\ \\ / / \n" +
" | ( ' ) | \\ _. / ' \n" +

View File

@ -6,13 +6,13 @@ import org.springframework.boot.web.servlet.support.SpringBootServletInitializer
/**
* web
*
* @author ruoyi
* @author mcwl
*/
public class RuoYiServletInitializer extends SpringBootServletInitializer
public class McWlServletInitializer extends SpringBootServletInitializer
{
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
{
return application.sources(RuoYiApplication.class);
return application.sources(McWlApplication.class);
}
}

View File

@ -11,7 +11,7 @@ import org.springframework.util.FastByteArrayOutputStream;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import com.google.code.kaptcha.Producer;
import com.mcwl.common.config.RuoYiConfig;
import com.mcwl.common.config.McWlConfig;
import com.mcwl.common.constant.CacheConstants;
import com.mcwl.common.constant.Constants;
import com.mcwl.common.core.domain.AjaxResult;
@ -23,7 +23,7 @@ import com.mcwl.system.service.ISysConfigService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
public class CaptchaController
@ -61,7 +61,7 @@ public class CaptchaController
BufferedImage image = null;
// 生成验证码
String captchaType = RuoYiConfig.getCaptchaType();
String captchaType = McWlConfig.getCaptchaType();
if ("math".equals(captchaType))
{
String capText = captchaProducerMath.createText();

View File

@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import com.mcwl.common.config.RuoYiConfig;
import com.mcwl.common.config.McWlConfig;
import com.mcwl.common.constant.Constants;
import com.mcwl.common.core.domain.AjaxResult;
import com.mcwl.common.utils.StringUtils;
@ -24,7 +24,7 @@ import com.mcwl.framework.config.ServerConfig;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/common")
@ -53,7 +53,7 @@ public class CommonController
throw new Exception(StringUtils.format("文件名称({})非法,不允许下载。 ", fileName));
}
String realFileName = System.currentTimeMillis() + fileName.substring(fileName.indexOf("_") + 1);
String filePath = RuoYiConfig.getDownloadPath() + fileName;
String filePath = McWlConfig.getDownloadPath() + fileName;
response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE);
FileUtils.setAttachmentResponseHeader(response, realFileName);
@ -78,7 +78,7 @@ public class CommonController
try
{
// 上传文件路径
String filePath = RuoYiConfig.getUploadPath();
String filePath = McWlConfig.getUploadPath();
// 上传并返回新文件名称
String fileName = FileUploadUtils.upload(filePath, file);
String url = serverConfig.getUrl() + fileName;
@ -104,7 +104,7 @@ public class CommonController
try
{
// 上传文件路径
String filePath = RuoYiConfig.getUploadPath();
String filePath = McWlConfig.getUploadPath();
List<String> urls = new ArrayList<String>();
List<String> fileNames = new ArrayList<String>();
List<String> newFileNames = new ArrayList<String>();
@ -146,7 +146,7 @@ public class CommonController
throw new Exception(StringUtils.format("资源文件({})非法,不允许下载。 ", resource));
}
// 本地资源路径
String localPath = RuoYiConfig.getProfile();
String localPath = McWlConfig.getProfile();
// 数据库资源地址
String downloadPath = localPath + StringUtils.substringAfter(resource, Constants.RESOURCE_PREFIX);
// 下载名称

View File

@ -25,7 +25,7 @@ import com.mcwl.system.domain.SysCache;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/monitor/cache")

View File

@ -10,7 +10,7 @@ import com.mcwl.framework.web.domain.Server;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/monitor/server")

View File

@ -23,7 +23,7 @@ import com.mcwl.system.service.ISysLogininforService;
/**
* 访
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/monitor/logininfor")

View File

@ -22,7 +22,7 @@ import com.mcwl.system.service.ISysOperLogService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/monitor/operlog")

View File

@ -26,7 +26,7 @@ import com.mcwl.system.service.ISysUserOnlineService;
/**
* 线
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/monitor/online")

View File

@ -25,7 +25,7 @@ import com.mcwl.system.service.ISysConfigService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/system/config")

View File

@ -25,7 +25,7 @@ import com.mcwl.system.service.ISysDeptService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/system/dept")

View File

@ -28,7 +28,7 @@ import com.mcwl.system.service.ISysDictTypeService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/system/dict/data")

View File

@ -25,7 +25,7 @@ import com.mcwl.system.service.ISysDictTypeService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/system/dict/type")

View File

@ -3,20 +3,20 @@ package com.mcwl.web.controller.system;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.mcwl.common.config.RuoYiConfig;
import com.mcwl.common.config.McWlConfig;
import com.mcwl.common.utils.StringUtils;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
public class SysIndexController
{
/** 系统基础配置 */
@Autowired
private RuoYiConfig ruoyiConfig;
private McWlConfig mcwlConfig;
/**
* 访
@ -24,6 +24,6 @@ public class SysIndexController
@RequestMapping("/")
public String index()
{
return StringUtils.format("欢迎使用{}后台管理框架当前版本v{},请通过前端地址访问。", ruoyiConfig.getName(), ruoyiConfig.getVersion());
return StringUtils.format("欢迎使用{}后台管理框架当前版本v{},请通过前端地址访问。", mcwlConfig.getName(), mcwlConfig.getVersion());
}
}

View File

@ -22,7 +22,7 @@ import com.mcwl.system.service.ISysMenuService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
public class SysLoginController

View File

@ -24,7 +24,7 @@ import com.mcwl.system.service.ISysMenuService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/system/menu")

View File

@ -23,7 +23,7 @@ import com.mcwl.system.service.ISysNoticeService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/system/notice")

View File

@ -25,7 +25,7 @@ import com.mcwl.system.service.ISysPostService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/system/post")

View File

@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import com.mcwl.common.annotation.Log;
import com.mcwl.common.config.RuoYiConfig;
import com.mcwl.common.config.McWlConfig;
import com.mcwl.common.core.controller.BaseController;
import com.mcwl.common.core.domain.AjaxResult;
import com.mcwl.common.core.domain.entity.SysUser;
@ -27,7 +27,7 @@ import com.mcwl.system.service.ISysUserService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/system/user/profile")
@ -124,7 +124,7 @@ public class SysProfileController extends BaseController
if (!file.isEmpty())
{
LoginUser loginUser = getLoginUser();
String avatar = FileUploadUtils.upload(RuoYiConfig.getAvatarPath(), file, MimeTypeUtils.IMAGE_EXTENSION);
String avatar = FileUploadUtils.upload(McWlConfig.getAvatarPath(), file, MimeTypeUtils.IMAGE_EXTENSION);
if (userService.updateUserAvatar(loginUser.getUsername(), avatar))
{
AjaxResult ajax = AjaxResult.success();

View File

@ -14,7 +14,7 @@ import com.mcwl.system.service.ISysConfigService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
public class SysRegisterController extends BaseController

View File

@ -34,7 +34,7 @@ import com.mcwl.system.service.ISysUserService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/system/role")

View File

@ -35,7 +35,7 @@ import com.mcwl.system.service.ISysUserService;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@RestController
@RequestMapping("/system/user")

View File

@ -25,7 +25,7 @@ import io.swagger.annotations.ApiOperation;
/**
* swagger
*
* @author ruoyi
* @author mcwl
*/
@Api("用户信息管理")
@RestController

View File

@ -6,7 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.mcwl.common.config.RuoYiConfig;
import com.mcwl.common.config.McWlConfig;
import io.swagger.annotations.ApiOperation;
import io.swagger.models.auth.In;
import springfox.documentation.builders.ApiInfoBuilder;
@ -25,14 +25,14 @@ import springfox.documentation.spring.web.plugins.Docket;
/**
* Swagger2
*
* @author ruoyi
* @author mcwl
*/
@Configuration
public class SwaggerConfig
{
/** 系统基础配置 */
@Autowired
private RuoYiConfig ruoyiConfig;
private McWlConfig mcwlConfig;
/** 是否开启swagger */
@Value("${swagger.enabled}")
@ -113,13 +113,13 @@ public class SwaggerConfig
// 用ApiInfoBuilder进行定制
return new ApiInfoBuilder()
// 设置标题
.title("标题:若依管理系统_接口文档")
.title("标题:魔创未来管理系统_接口文档")
// 描述
.description("描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...")
// 作者信息
.contact(new Contact(ruoyiConfig.getName(), null, null))
.contact(new Contact(mcwlConfig.getName(), null, null))
// 版本
.version("版本号:" + ruoyiConfig.getVersion())
.version("版本号:" + mcwlConfig.getVersion())
.build();
}
}

View File

@ -47,7 +47,7 @@ spring:
allow:
url-pattern: /druid/*
# 控制台管理用户名和密码
login-username: ruoyi
login-username: mcwl
login-password: 123456
filter:
stat:

View File

@ -1,13 +1,13 @@
# 项目相关配置
ruoyi:
mcwl:
# 名称
name: RuoYi
name: McWl
# 版本
version: 3.8.8
# 版权年份
copyrightYear: 2024
# 文件路径 示例( Windows配置D:/ruoyi/uploadPathLinux配置 /home/ruoyi/uploadPath
profile: D:/ruoyi/uploadPath
# 文件路径 示例( Windows配置D:/mcwl/uploadPathLinux配置 /home/mcwl/uploadPath
profile: D:/mcwl/uploadPath
# 获取ip地址开关
addressEnabled: false
# 验证码类型 math 数字计算 char 字符验证

View File

@ -1,4 +1,4 @@
Application Version: ${ruoyi.version}
Application Version: ${mcwl.version}
Spring Boot Version: ${spring-boot.version}
////////////////////////////////////////////////////////////////////
// _ooOoo_ //

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<!-- 日志存放路径 -->
<property name="log.path" value="/home/ruoyi/logs" />
<property name="log.path" value="/home/mcwl/logs" />
<!-- 日志输出格式 -->
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />

View File

@ -9,7 +9,7 @@ import java.lang.annotation.Target;
/**
* 访
*
* @author ruoyi
* @author mcwl
*/
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -9,7 +9,7 @@ import java.lang.annotation.Target;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)

View File

@ -13,7 +13,7 @@ import com.mcwl.common.enums.DataSourceType;
*
*
*
* @author ruoyi
* @author mcwl
*/
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -12,7 +12,7 @@ import com.mcwl.common.utils.poi.ExcelHandlerAdapter;
/**
* Excel
*
* @author ruoyi
* @author mcwl
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)

View File

@ -8,7 +8,7 @@ import java.lang.annotation.Target;
/**
* Excel
*
* @author ruoyi
* @author mcwl
*/
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)

View File

@ -11,7 +11,7 @@ import com.mcwl.common.enums.OperatorType;
/**
*
*
* @author ruoyi
* @author mcwl
*
*/
@Target({ ElementType.PARAMETER, ElementType.METHOD })

View File

@ -11,7 +11,7 @@ import com.mcwl.common.enums.LimitType;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)

View File

@ -10,7 +10,7 @@ import java.lang.annotation.Target;
/**
*
*
* @author ruoyi
* @author mcwl
*
*/
@Inherited

View File

@ -12,7 +12,7 @@ import com.mcwl.common.enums.DesensitizedType;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)

View File

@ -6,11 +6,11 @@ import org.springframework.stereotype.Component;
/**
*
*
* @author ruoyi
* @author mcwl
*/
@Component
@ConfigurationProperties(prefix = "ruoyi")
public class RuoYiConfig
@ConfigurationProperties(prefix = "mcwl")
public class McWlConfig
{
/** 项目名称 */
private String name;
@ -67,7 +67,7 @@ public class RuoYiConfig
public void setProfile(String profile)
{
RuoYiConfig.profile = profile;
McWlConfig.profile = profile;
}
public static boolean isAddressEnabled()
@ -77,7 +77,7 @@ public class RuoYiConfig
public void setAddressEnabled(boolean addressEnabled)
{
RuoYiConfig.addressEnabled = addressEnabled;
McWlConfig.addressEnabled = addressEnabled;
}
public static String getCaptchaType() {
@ -85,7 +85,7 @@ public class RuoYiConfig
}
public void setCaptchaType(String captchaType) {
RuoYiConfig.captchaType = captchaType;
McWlConfig.captchaType = captchaType;
}
/**

View File

@ -16,7 +16,7 @@ import com.mcwl.common.utils.SecurityUtils;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class SensitiveJsonSerializer extends JsonSerializer<String> implements ContextualSerializer
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.constant;
/**
* key
*
* @author ruoyi
* @author mcwl
*/
public class CacheConstants
{

View File

@ -6,7 +6,7 @@ import io.jsonwebtoken.Claims;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class Constants
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.constant;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class GenConstants
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.constant;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class HttpStatus
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.constant;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class ScheduleConstants
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.constant;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class UserConstants
{

View File

@ -24,7 +24,7 @@ import com.mcwl.common.utils.sql.SqlUtil;
/**
* web
*
* @author ruoyi
* @author mcwl
*/
public class BaseController
{

View File

@ -8,7 +8,7 @@ import com.mcwl.common.utils.StringUtils;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class AjaxResult extends HashMap<String, Object>
{

View File

@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonInclude;
/**
* Entity
*
* @author ruoyi
* @author mcwl
*/
public class BaseEntity implements Serializable
{

View File

@ -6,7 +6,7 @@ import com.mcwl.common.constant.HttpStatus;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class R<T> implements Serializable
{

View File

@ -6,7 +6,7 @@ import java.util.List;
/**
* Tree
*
* @author ruoyi
* @author mcwl
*/
public class TreeEntity extends BaseEntity
{

View File

@ -12,7 +12,7 @@ import com.mcwl.common.utils.StringUtils;
/**
* Treeselect
*
* @author ruoyi
* @author mcwl
*/
public class TreeSelect implements Serializable
{

View File

@ -13,7 +13,7 @@ import com.mcwl.common.core.domain.BaseEntity;
/**
* sys_dept
*
* @author ruoyi
* @author mcwl
*/
public class SysDept extends BaseEntity
{

View File

@ -12,7 +12,7 @@ import com.mcwl.common.core.domain.BaseEntity;
/**
* sys_dict_data
*
* @author ruoyi
* @author mcwl
*/
public class SysDictData extends BaseEntity
{

View File

@ -12,7 +12,7 @@ import com.mcwl.common.core.domain.BaseEntity;
/**
* sys_dict_type
*
* @author ruoyi
* @author mcwl
*/
public class SysDictType extends BaseEntity
{

View File

@ -12,7 +12,7 @@ import com.mcwl.common.core.domain.BaseEntity;
/**
* sys_menu
*
* @author ruoyi
* @author mcwl
*/
public class SysMenu extends BaseEntity
{

View File

@ -13,7 +13,7 @@ import com.mcwl.common.core.domain.BaseEntity;
/**
* sys_role
*
* @author ruoyi
* @author mcwl
*/
public class SysRole extends BaseEntity
{

View File

@ -15,7 +15,7 @@ import com.mcwl.common.xss.Xss;
/**
* sys_user
*
* @author ruoyi
* @author mcwl
*/
public class SysUser extends BaseEntity
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.core.domain.model;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class LoginBody
{

View File

@ -10,7 +10,7 @@ import java.util.Set;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class LoginUser implements UserDetails
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.core.domain.model;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class RegisterBody extends LoginBody
{

View File

@ -5,7 +5,7 @@ import com.mcwl.common.utils.StringUtils;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class PageDomain
{

View File

@ -6,7 +6,7 @@ import java.util.List;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class TableDataInfo implements Serializable
{

View File

@ -6,7 +6,7 @@ import com.mcwl.common.utils.ServletUtils;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class TableSupport
{

View File

@ -16,7 +16,7 @@ import org.springframework.stereotype.Component;
/**
* spring redis
*
* @author ruoyi
* @author mcwl
**/
@SuppressWarnings(value = { "unchecked", "rawtypes" })
@Component

View File

@ -7,7 +7,7 @@ import com.mcwl.common.utils.StringUtils;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class CharsetKit
{

View File

@ -13,7 +13,7 @@ import org.apache.commons.lang3.ArrayUtils;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class Convert
{

View File

@ -5,7 +5,7 @@ import com.mcwl.common.utils.StringUtils;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class StrFormatter
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.enums;
/**
*
*
* @author ruoyi
* @author mcwl
*
*/
public enum BusinessStatus

View File

@ -3,7 +3,7 @@ package com.mcwl.common.enums;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public enum BusinessType
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.enums;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public enum DataSourceType
{

View File

@ -6,7 +6,7 @@ import com.mcwl.common.utils.DesensitizedUtil;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public enum DesensitizedType
{

View File

@ -7,7 +7,7 @@ import org.springframework.lang.Nullable;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public enum HttpMethod
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.enums;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public enum LimitType

View File

@ -3,7 +3,7 @@ package com.mcwl.common.enums;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public enum OperatorType
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.enums;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public enum UserStatus
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class DemoModeException extends RuntimeException
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class GlobalException extends RuntimeException
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public final class ServiceException extends RuntimeException
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class UtilException extends RuntimeException
{

View File

@ -6,7 +6,7 @@ import com.mcwl.common.utils.StringUtils;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class BaseException extends RuntimeException
{

View File

@ -5,7 +5,7 @@ import com.mcwl.common.exception.base.BaseException;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class FileException extends BaseException
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception.file;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class FileNameLengthLimitExceededException extends FileException
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception.file;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class FileSizeLimitExceededException extends FileException
{

View File

@ -6,7 +6,7 @@ import java.io.PrintWriter;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class FileUploadException extends Exception
{

View File

@ -5,7 +5,7 @@ import java.util.Arrays;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class InvalidExtensionException extends FileUploadException
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception.job;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class TaskException extends Exception
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception.user;
/**
* IP
*
* @author ruoyi
* @author mcwl
*/
public class BlackListException extends UserException
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception.user;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class CaptchaException extends UserException
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception.user;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class CaptchaExpireException extends UserException
{

View File

@ -5,7 +5,7 @@ import com.mcwl.common.exception.base.BaseException;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class UserException extends BaseException
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception.user;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class UserNotExistsException extends UserException
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception.user;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class UserPasswordNotMatchException extends UserException
{

View File

@ -3,7 +3,7 @@ package com.mcwl.common.exception.user;
/**
*
*
* @author ruoyi
* @author mcwl
*/
public class UserPasswordRetryLimitExceedException extends UserException
{

View File

@ -5,7 +5,7 @@ import com.alibaba.fastjson2.filter.SimplePropertyPreFilter;
/**
* JSON
*
* @author ruoyi
* @author mcwl
*/
public class PropertyPreExcludeFilter extends SimplePropertyPreFilter
{

View File

@ -14,7 +14,7 @@ import com.mcwl.common.utils.StringUtils;
/**
* Repeatable
*
* @author ruoyi
* @author mcwl
*/
public class RepeatableFilter implements Filter
{

View File

@ -15,7 +15,7 @@ import com.mcwl.common.constant.Constants;
/**
* inputStreamrequest
*
* @author ruoyi
* @author mcwl
*/
public class RepeatedlyRequestWrapper extends HttpServletRequestWrapper
{

View File

@ -17,7 +17,7 @@ import com.mcwl.common.enums.HttpMethod;
/**
* XSS
*
* @author ruoyi
* @author mcwl
*/
public class XssFilter implements Filter
{

View File

@ -15,7 +15,7 @@ import com.mcwl.common.utils.html.EscapeUtil;
/**
* XSS
*
* @author ruoyi
* @author mcwl
*/
public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper
{

Some files were not shown because too many files have changed in this diff Show More