Browse Source

科德系统新增同接口1秒访问的限制

anderx 7 months ago
parent
commit
3116251f67
1 changed files with 6 additions and 11 deletions
  1. 6 11
      src/main/java/com/goafanti/core/shiro/filter/ShiroFilterUtils.java

+ 6 - 11
src/main/java/com/goafanti/core/shiro/filter/ShiroFilterUtils.java

@@ -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) {