|
@ -1,6 +1,10 @@
|
|
|
package com.yihu.wlyy.interceptors;
|
|
|
|
|
|
import com.yihu.wlyy.entity.url.CudUrl;
|
|
|
import com.yihu.wlyy.logs.InterfaceCallLogs;
|
|
|
import com.yihu.wlyy.util.DateUtil;
|
|
|
import com.yihu.wlyy.util.SystemConf;
|
|
|
import com.yihu.wlyy.util.SystemData;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.json.JSONObject;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@ -22,7 +26,7 @@ public class DoctorInterceptor extends BaseInterceptor {
|
|
|
@Override
|
|
|
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
|
|
|
boolean flag = true;
|
|
|
/*try {
|
|
|
try {
|
|
|
request.setAttribute("log-start", new Date().getTime());
|
|
|
response.setCharacterEncoding("UTF-8");
|
|
|
JSONObject json = getAgent(request);
|
|
@ -121,7 +125,7 @@ public class DoctorInterceptor extends BaseInterceptor {
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}*/
|
|
|
}
|
|
|
return flag;
|
|
|
}
|
|
|
|