bruce

仓管费

...@@ -38,7 +38,7 @@ public class SecurityInterceptor extends HandlerInterceptorAdapter { ...@@ -38,7 +38,7 @@ public class SecurityInterceptor extends HandlerInterceptorAdapter {
38 private PassportBiz passportBiz; 38 private PassportBiz passportBiz;
39 39
40 /**不拦截URL*/ 40 /**不拦截URL*/
41 - public static final String[] UNCHECK_URL = new String[] { "/user/toSignResult" }; 41 + public static final String[] UNCHECK_URL = new String[] { "/user/toSignResult", "/pick/pay/notify" };
42 42
43 @Override 43 @Override
44 public boolean preHandle(HttpServletRequest request, HttpServletResponse response, 44 public boolean preHandle(HttpServletRequest request, HttpServletResponse response,
......
...@@ -33,8 +33,10 @@ public class PickPayAction { ...@@ -33,8 +33,10 @@ public class PickPayAction {
33 @RequestMapping(value = "notify", method = RequestMethod.POST) 33 @RequestMapping(value = "notify", method = RequestMethod.POST)
34 public String notify(Map<String, String> params) { 34 public String notify(Map<String, String> params) {
35 System.out.println("map----params参数" + JsonUtil.toJson(params)); 35 System.out.println("map----params参数" + JsonUtil.toJson(params));
36 - pickPayBiz.isValidNotify(params); 36 + if (pickPayBiz.isValidNotify(params)){
37 - return "/jsp/payResult.jsp"; 37 + return "SUCCESS";
38 + }
39 + return "ERROR";
38 } 40 }
39 41
40 } 42 }
......
...@@ -22,8 +22,8 @@ public class CreateQrCode implements Serializable { ...@@ -22,8 +22,8 @@ public class CreateQrCode implements Serializable {
22 private String billDate; 22 private String billDate;
23 private String totalAmount; 23 private String totalAmount;
24 private String qrCodeId; 24 private String qrCodeId;
25 - private String returnUrl = "https://www.zhao.com/login"; 25 + private String returnUrl = UnionConstants.NOTIFY_DOMAIN + "/user/pick/record";
26 - private String notifyUrl = "http://192.168.10.106//pick/pay/notify"; 26 + private String notifyUrl = UnionConstants.NOTIFY_DOMAIN + "/pick/pay/notify";
27 27
28 public String getMsgSrc() { 28 public String getMsgSrc() {
29 return msgSrc; 29 return msgSrc;
......
...@@ -38,4 +38,6 @@ public class UnionConstants { ...@@ -38,4 +38,6 @@ public class UnionConstants {
38 */ 38 */
39 public static final String SUCCESS_CODE = "SUCCESS"; 39 public static final String SUCCESS_CODE = "SUCCESS";
40 40
41 + public static final String NOTIFY_DOMAIN = "http://zyn.yocung.com";
42 +
41 } 43 }
......