| | |
| | | if ("/user/pay/flyPay.do".equals(url)) { |
| | | return true; |
| | | } |
| | | if ("/user/thirdPartyRecharge.do".equals(url)) { |
| | | if ("/user/rechargeCallback.do".equals(url)) {//支付回调 |
| | | return true; |
| | | } |
| | | if ("/user/rechargeCallback.do".equals(url)) {//支付回调 |
| | | if ("/user/rechargeCallbackTwo.do".equals(url)) {//支付回调 |
| | | return true; |
| | | } |
| | | User currentUser = getCurrentUser(httpServletRequest); |
| | |
| | | httpServletResponse.setCharacterEncoding("UTF-8"); |
| | | httpServletResponse.setContentType("application/json;charset=UTF-8"); |
| | | PrintWriter writer = httpServletResponse.getWriter(); |
| | | writer.print( new Gson().toJson(ServerResponse.createByErrorCodeMsg(401,googleTranslateUtil.translate("请登录",lang )))); |
| | | //writer.print( new Gson().toJson(ServerResponse.createByErrorCodeMsg(401,googleTranslateUtil.translate("请登录",lang )))); |
| | | writer.print( new Gson().toJson(ServerResponse.createByErrorCodeMsg(401,"请登录"))); |
| | | writer.flush(); |
| | | writer.close(); |
| | | return false; |