mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 03:52:59 +08:00
perf(系统管理): 非法排序字段异常
This commit is contained in:
parent
8a61c69ea5
commit
91a3c8a823
@ -46,7 +46,7 @@ public class SqlInjectAop {
|
|||||||
String[] value = annotation.value();
|
String[] value = annotation.value();
|
||||||
boolean illegal = isIllegal(value, request.getOrders());
|
boolean illegal = isIllegal(value, request.getOrders());
|
||||||
if (illegal) {
|
if (illegal) {
|
||||||
DEException.throwException("Illegal order exp");
|
DEException.throwException("Illegal sort exp");
|
||||||
}
|
}
|
||||||
return point.proceed(args);
|
return point.proceed(args);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user