diff --git a/README.md b/README.md
index 20cec8d8011818c814758560d220fedee77d96a2..cbc439febce9cb4b7b3b2fce777dbc216f5ef95e 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
-# Bootx-Platform (v1.1.0-beta-1)
+# Bootx-Platform (v1.1.0-beta-2)
-
+
-
+
@@ -82,6 +82,8 @@ bootx-platform
├── common-websocket -- websocket
├── common-xxl-job -- XXL-JOB定时任务
├── bootx-demo -- demo示例模块
+ ├── bootx-modules -- 业务系统
+ ├── eshop -- 网上商城
├── bootx-services -- 业务服务模块
├── service-baseapi -- 基础api功能服务
├── service-goods -- 商品中心服务(未完成)
diff --git a/_config/elk/filebeat/Dockerfile b/_config/elk/filebeat/Dockerfile
index d7e70646825f718861c707c613613cf82cd991d4..6279ddcabb4cbcd82bcc9d348da9d149d99bf435 100644
--- a/_config/elk/filebeat/Dockerfile
+++ b/_config/elk/filebeat/Dockerfile
@@ -1,8 +1,8 @@
FROM docker.elastic.co/beats/filebeat:7.13.2
-MAINTAINER xxm1995@outlook.com
+MAINTAINER xxm
COPY filebeat.yml /usr/share/filebeat/filebeat.yml
USER root
-RUN chown root:filebeat /usr/share/filebeat/filebeat.yml
+RUN chown filebeat /usr/share/filebeat/filebeat.yml
USER filebeat
\ No newline at end of file
diff --git a/_doc/ChangeLog.md b/_doc/ChangeLog.md
index 324d6ed490835e070702bee42bccf13a48357623..c0bd3023305693914f9679afb9fe8de2a9e96a6a 100644
--- a/_doc/ChangeLog.md
+++ b/_doc/ChangeLog.md
@@ -1,12 +1,28 @@
# CHANGELOG
## [v1.1.0-bate-2] 一号线-工研院.测试版2
- 增加ELK相关配置,优化日志输出格式
+- 增加不同的终端可以有不同的菜单权限列表
- 增加RabbitMQ消息队列模块
+- 增加Redis简单消息队列方式,实现简单消息队列功能
+- 增加Redis过期事件封装,实现定时消息通知功能
+- 增加Redis简单消息队列和过期事件封装演示
+- 增加Websocket模块及演示DEMO
- 增加分布式锁组件
+- 增加分布式锁演示模块
+- 网上商城配套开发
+ - 类目管理及相关规格、品牌、参数管理
+- 优化Redis支持集群配置
+- 优化定时任务增加状态同步按钮,处理定时任务job运行状态不一致情况
- 优化数据权限异常类型
- 优化一些抛出异常的处理
- 优化项目pom结构
+- 优化前端路由跳过登录鉴权配置
+- 优化请求权限校验流程
+- 优化MQTT .lock文件夹问题
+- 优化前端支持内部打开外部页面
- fix: 权限不拦截问题
+- fix: 开启验证码后, 在登录页面提示请求报错
+- fix: 在MacOS环境下运行日志存储报错问题
- fix: mqtt ClientId配置问题导致启动时连接失败的问题
## [v1.1.0-bate-1] 一号线-工研院.测试版1
- 增加kay/value存储类
diff --git a/bootx-common-core/pom.xml b/bootx-common-core/pom.xml
index 894d52cea3d149f21a5f8be8d0ea2fa6bc9e92ee..77d22882bc7cca62076e67b0669c7031ad360067 100644
--- a/bootx-common-core/pom.xml
+++ b/bootx-common-core/pom.xml
@@ -14,14 +14,14 @@
UTF-8
- 5.7.22
+ 5.8.0
2.12.3
3.11
4.4
1.9
2.11.0
31.1-jre
- 7.0.1.Final
+ 7.0.4.Final
4.0.1
1.7.30
diff --git a/bootx-common-core/src/main/java/cn/bootx/common/core/annotation/OperateLog.java b/bootx-common-core/src/main/java/cn/bootx/common/core/annotation/OperateLog.java
index 0bd2dd982f1a236b748eca05adf8c855ca9c3b7d..7d3660fd73a9f818d6c16655bd964ddb27a5fd6a 100644
--- a/bootx-common-core/src/main/java/cn/bootx/common/core/annotation/OperateLog.java
+++ b/bootx-common-core/src/main/java/cn/bootx/common/core/annotation/OperateLog.java
@@ -5,7 +5,7 @@ import cn.bootx.common.core.enums.BusinessType;
import java.lang.annotation.*;
/**
-* 操作日志注解
+* 操作日志注解(支持重复注解)
* @author xxm
* @date 2021/8/13
*/
diff --git a/bootx-common-core/src/main/java/cn/bootx/common/core/code/WebHeaderCode.java b/bootx-common-core/src/main/java/cn/bootx/common/core/code/WebHeaderCode.java
index ef96ed84067d287faee6afd0d67fc51f477519cd..545d74cb2c4a988b8b35b30bccd23ba4cbfb19ca 100644
--- a/bootx-common-core/src/main/java/cn/bootx/common/core/code/WebHeaderCode.java
+++ b/bootx-common-core/src/main/java/cn/bootx/common/core/code/WebHeaderCode.java
@@ -1,7 +1,7 @@
package cn.bootx.common.core.code;
/**
- * web常量
+ * web请求头常量
* @author network
*/
public interface WebHeaderCode {
diff --git a/bootx-common-core/src/main/java/cn/bootx/common/core/entity/UserDetail.java b/bootx-common-core/src/main/java/cn/bootx/common/core/entity/UserDetail.java
index 767d1479d6251d86aa60992d9c8c32475001a4f1..7e8b98df6ed659771116c62b7ac47f52b70b38d6 100644
--- a/bootx-common-core/src/main/java/cn/bootx/common/core/entity/UserDetail.java
+++ b/bootx-common-core/src/main/java/cn/bootx/common/core/entity/UserDetail.java
@@ -7,6 +7,8 @@ import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
+import java.util.List;
+
/**
* 用户类
* @author xxm
@@ -27,6 +29,9 @@ public class UserDetail{
@JsonIgnore
private transient String password;
+ /** 拥有终端列表 */
+ private List clientIds;
+
/** 是否管理员 */
private boolean admin;
diff --git a/bootx-common-core/src/main/java/cn/bootx/common/core/extra/ParamService.java b/bootx-common-core/src/main/java/cn/bootx/common/core/function/ParamService.java
similarity index 64%
rename from bootx-common-core/src/main/java/cn/bootx/common/core/extra/ParamService.java
rename to bootx-common-core/src/main/java/cn/bootx/common/core/function/ParamService.java
index b193fae8f8af1fa5d4f7457bc63984056016ab9a..c91dff6db1fc459ab794276c9e401d97c7f11061 100644
--- a/bootx-common-core/src/main/java/cn/bootx/common/core/extra/ParamService.java
+++ b/bootx-common-core/src/main/java/cn/bootx/common/core/function/ParamService.java
@@ -1,7 +1,7 @@
-package cn.bootx.common.core.extra;
+package cn.bootx.common.core.function;
/**
-* 参数获取服务
+* 参数获取服务(必须有实现类)
* @author xxm
* @date 2022/5/1
*/
diff --git a/bootx-common-core/src/main/java/cn/bootx/common/core/rest/ResResult.java b/bootx-common-core/src/main/java/cn/bootx/common/core/rest/ResResult.java
index f2948bf615ee5a9bcc964b6a1b541bf882e57999..14dc2c749f392f7b5193036053ff45fe2b1464b1 100644
--- a/bootx-common-core/src/main/java/cn/bootx/common/core/rest/ResResult.java
+++ b/bootx-common-core/src/main/java/cn/bootx/common/core/rest/ResResult.java
@@ -3,6 +3,7 @@ package cn.bootx.common.core.rest;
import cn.bootx.common.core.code.CommonCode;
import lombok.Getter;
import lombok.Setter;
+import lombok.ToString;
import java.io.Serializable;
@@ -13,6 +14,7 @@ import java.io.Serializable;
*/
@Getter
@Setter
+@ToString
public class ResResult implements Serializable {
private static final long serialVersionUID = -3041700282408360384L;
private String msg = "success";
diff --git a/bootx-common-core/src/main/java/cn/bootx/common/core/util/CollUtil.java b/bootx-common-core/src/main/java/cn/bootx/common/core/util/CollUtil.java
index bd2a80faa9acaa4a6955f0b23dcf8de887cc4024..c3b89abf509e972df3801e52de835e0924142a9c 100644
--- a/bootx-common-core/src/main/java/cn/bootx/common/core/util/CollUtil.java
+++ b/bootx-common-core/src/main/java/cn/bootx/common/core/util/CollUtil.java
@@ -10,7 +10,7 @@ import java.util.Collection;
* @date 2020/11/28
*/
@UtilityClass
-public class CollUtil {
+public class CollUtil extends cn.hutool.core.collection.CollUtil {
/**
* 判断两个集合是否有交集
diff --git a/bootx-common-core/src/main/java/cn/bootx/common/core/util/ValidationUtil.java b/bootx-common-core/src/main/java/cn/bootx/common/core/util/ValidationUtil.java
index a89829eb637c7c0dd21e23c8bba694ad11264d1d..036217847d9c28465308ebb34c94a610496e8b02 100644
--- a/bootx-common-core/src/main/java/cn/bootx/common/core/util/ValidationUtil.java
+++ b/bootx-common-core/src/main/java/cn/bootx/common/core/util/ValidationUtil.java
@@ -23,9 +23,9 @@ public class ValidationUtil {
/**
* 验证参数对象,如果验证失败则抛出异常
*/
- public void validateParam(Object paramObject) {
+ public void validateParam(Object paramObject, Class>... groups) {
Validator validator = validatorFactory.getValidator();
- Set> violations = validator.validate(paramObject);
+ Set> violations = validator.validate(paramObject,groups);
if (!violations.isEmpty()) {
throw new ValidationFailedException(extractMessages(violations));
}
@@ -42,9 +42,9 @@ public class ValidationUtil {
/**
* 验证参数对象,如果验证失败则返回所有失败信息
*/
- public String validate(Object paramObject){
+ public String validate(Object paramObject, Class>... groups){
Validator validator = validatorFactory.getValidator();
- Set> violations = validator.validate(paramObject);
+ Set> violations = validator.validate(paramObject,groups);
StringBuilder message = new StringBuilder();
for (ConstraintViolation