فهرست منبع

拦截器修改

lyr 8 سال پیش
والد
کامیت
3f039b23d2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/java/com/yihu/wlyy/interceptors/PatientInterceptor.java

+ 1 - 1
src/main/java/com/yihu/wlyy/interceptors/PatientInterceptor.java

@ -25,7 +25,7 @@ public class PatientInterceptor extends BaseInterceptor {
	public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
		boolean flag = true;
		try {
			if(request.getRequestURI().equals("/wlyy/patient/hosptail/getHositalByTownCode")){
			if(request.getRequestURI().contains("/patient/hosptail/getHositalByTownCode")){
				return true;
			}
			response.setCharacterEncoding("UTF-8");