skyouc
2 小时以前 ff31d592924958958c21fdef1975d499586d964f
rsf-server/src/main/java/com/vincent/rsf/server/system/controller/BaseController.java
@@ -16,9 +16,6 @@
 */
public class BaseController {
    public User getLoginUser() {
        try {
            Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
@@ -52,6 +49,14 @@
            });
            map.remove("meta");
        }
        // 移除筛选条件里面的 $
        for (String key : map.keySet()) {
            Object value = map.get(key);
            if (key.equals("orderBy")) {
                String newValue = value.toString().replace("$", "");
                map.replace("orderBy", value, newValue);
            }
        }
        T t  = null;
        try {
            t = clz.getDeclaredConstructor().newInstance();