|
|
@ -104,9 +104,8 @@ public class WecPaymentServiceImp implements WecPaymentService { |
|
|
requestParam.append("&spbillCreateIp=").append(spbillCreateIp); |
|
|
requestParam.append("&spbillCreateIp=").append(spbillCreateIp); |
|
|
requestParam.append("&storeBrand=").append(storeBrand); |
|
|
requestParam.append("&storeBrand=").append(storeBrand); |
|
|
requestParam.append("&cityBranchNm=").append(cityBranchNm); |
|
|
requestParam.append("&cityBranchNm=").append(cityBranchNm); |
|
|
logger.warn("requestParam:{}", requestParam.toString()); |
|
|
|
|
|
res = util.sendAndRecv(req_url, requestParam.toString(), PaymentConstant.CHARACTER_SET); |
|
|
res = util.sendAndRecv(req_url, requestParam.toString(), PaymentConstant.CHARACTER_SET); |
|
|
logger.warn(res); |
|
|
logger.info("Native支付下单参数响应: {}" , res); |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
e.printStackTrace(); |
|
|
e.printStackTrace(); |
|
|
} |
|
|
} |
|
|
@ -156,6 +155,7 @@ public class WecPaymentServiceImp implements WecPaymentService { |
|
|
|
|
|
|
|
|
HiiposmUtil util = new HiiposmUtil(); |
|
|
HiiposmUtil util = new HiiposmUtil(); |
|
|
String res = util.sendAndRecv(req_url, requestParam.toString(), characterSet); |
|
|
String res = util.sendAndRecv(req_url, requestParam.toString(), characterSet); |
|
|
|
|
|
logger.info("订单: {} 查询参数响应: {}",order.getOrderNo(),res); |
|
|
if(util.getValue(res, "status").equals("SUCCESS")){ |
|
|
if(util.getValue(res, "status").equals("SUCCESS")){ |
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
|
|