|
|
@@ -1,17 +1,14 @@
|
|
|
package com.goafanti.core.shiro.filter;
|
|
|
|
|
|
-import java.io.IOException;
|
|
|
-import java.io.PrintWriter;
|
|
|
-
|
|
|
-import javax.servlet.http.HttpServletRequest;
|
|
|
-import javax.servlet.http.HttpServletResponse;
|
|
|
-
|
|
|
-import org.springframework.beans.factory.annotation.Value;
|
|
|
-
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
-
|
|
|
import com.goafanti.common.bo.Result;
|
|
|
import com.goafanti.common.utils.LoggerUtils;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
+
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
+import javax.servlet.http.HttpServletResponse;
|
|
|
+import java.io.IOException;
|
|
|
+import java.io.PrintWriter;
|
|
|
|
|
|
public class ShiroFilterUtils {
|
|
|
final static Class<? extends ShiroFilterUtils> CLAZZ = ShiroFilterUtils.class;
|
|
|
@@ -44,8 +41,6 @@ public class ShiroFilterUtils {
|
|
|
/**
|
|
|
* response 输出JSON
|
|
|
*
|
|
|
- * @param hresponse
|
|
|
- * @param resultMap
|
|
|
* @throws IOException
|
|
|
*/
|
|
|
public void out(HttpServletResponse response, Result res) {
|