|
|
|
@@ -493,7 +493,7 @@ public class WxCarController extends BaseController { |
|
|
|
StringBuffer attachSb = new StringBuffer("{") |
|
|
|
.append("\"u\":").append(user.getUserId()) |
|
|
|
.append(",\"uh\":\"").append(user.getPhone()).append("\"") |
|
|
|
.append(",\"car:\":\"").append("aaaaaa").append("\"") |
|
|
|
.append(",\"car:\":\"").append(carNumber).append("\"") |
|
|
|
.append(",\"fee\":").append(payOrder.getFee()); |
|
|
|
if (rlength > 4) { |
|
|
|
attachSb.append(",\"ma\":\"").append(receiverAccount.substring(rlength-4,rlength)).append("\""); |
|
|
|
@@ -512,8 +512,8 @@ public class WxCarController extends BaseController { |
|
|
|
String uniquePayOrderNo = carVendor.getMessage()+"_"+idWorker.nextId(); |
|
|
|
String apiKey = (String)receiver.getReceiverParamValue(Constant.paymentReceicerParamApiKey); |
|
|
|
String attach = attachSb.toString(); |
|
|
|
//String productPre = new String("停车费支付,车场订单号".getBytes("ISO-8859-1"), "UTF-8");//中文签名错误 |
|
|
|
String productPre = "ParkOrderId"; |
|
|
|
String productPre = "停车费支付,车场订单号";//中文签名错误 |
|
|
|
//String productPre = "ParkOrderId"; |
|
|
|
PayAdapterResult wxResult = wxParkPayService.createWxPayOrder(park,isIsv,false,user.getOpenId(), user.getAppId(), receiver.getReceiverAccount(), productPre+payOrder.getParkOrderNumber(), attach, uniquePayOrderNo, payOrder.getFee(), |
|
|
|
"127.0.0.1", park.getPaidCallBack(), apiKey, new Date()); |
|
|
|
return new ResultData(wxResult); |
|
|
|
@@ -524,10 +524,6 @@ public class WxCarController extends BaseController { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private String handleChinese(String content) { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 停车费支付订单列表 |
|
|
|
* |
|
|
|
|