diff --git a/backend/src/main/java/io/dataease/auth/aop/SqlInjectAop.java b/backend/src/main/java/io/dataease/auth/aop/SqlInjectAop.java index 56f92e2633..add12ab202 100644 --- a/backend/src/main/java/io/dataease/auth/aop/SqlInjectAop.java +++ b/backend/src/main/java/io/dataease/auth/aop/SqlInjectAop.java @@ -46,7 +46,7 @@ public class SqlInjectAop { String[] value = annotation.value(); boolean illegal = isIllegal(value, request.getOrders()); if (illegal) { - DEException.throwException("Illegal order exp"); + DEException.throwException("Illegal sort exp"); } return point.proceed(args); } catch (Throwable e) { diff --git a/backend/src/main/java/io/dataease/controller/sys/request/MsgRequest.java b/backend/src/main/java/io/dataease/controller/sys/request/MsgRequest.java index 3e5ac7f497..a06787bd9e 100644 --- a/backend/src/main/java/io/dataease/controller/sys/request/MsgRequest.java +++ b/backend/src/main/java/io/dataease/controller/sys/request/MsgRequest.java @@ -1,15 +1,15 @@ package io.dataease.controller.sys.request; +import io.dataease.controller.sys.base.BaseGridRequest; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; -import java.util.List; @Data @ApiModel("消息条件") -public class MsgRequest implements Serializable { +public class MsgRequest extends BaseGridRequest implements Serializable { private static final long serialVersionUID = 1920091635946508658L; @@ -19,6 +19,4 @@ public class MsgRequest implements Serializable { @ApiModelProperty("是否订阅") private Boolean status; - @ApiModelProperty("排序描述") - private List orders; }