mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	修正在线用户日志记录类型
This commit is contained in:
		| @@ -6,7 +6,6 @@ import java.util.concurrent.TimeUnit; | ||||
| import javax.servlet.http.HttpServletRequest; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.beans.factory.annotation.Value; | ||||
| import org.springframework.http.MediaType; | ||||
| import org.springframework.stereotype.Component; | ||||
| import com.alibaba.fastjson.JSONObject; | ||||
| import com.ruoyi.common.constant.Constants; | ||||
| @@ -53,8 +52,7 @@ public class SameUrlDataInterceptor extends RepeatSubmitInterceptor | ||||
|     public boolean isRepeatSubmit(HttpServletRequest request) | ||||
|     { | ||||
|         String nowParams = ""; | ||||
|         if (request instanceof HttpServletRequest && StringUtils.equalsAnyIgnoreCase(request.getContentType(), | ||||
|                 MediaType.APPLICATION_JSON_VALUE, MediaType.APPLICATION_JSON_UTF8_VALUE)) | ||||
|         if (request instanceof RepeatedlyRequestWrapper) | ||||
|         { | ||||
|             RepeatedlyRequestWrapper repeatedlyRequest = (RepeatedlyRequestWrapper) request; | ||||
|             nowParams = HttpHelper.getBodyString(repeatedlyRequest); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 RuoYi
					RuoYi