|
|
@ -69,7 +69,7 @@ public class QianZhuConfig { |
|
|
|
Map<String,Object> map = new HashMap<>(); |
|
|
|
Map<String,Object> map = new HashMap<>(); |
|
|
|
map.put("platformId", CommonSysConst.getSysConfig().getQinzhuPlatformId()); |
|
|
|
map.put("platformId", CommonSysConst.getSysConfig().getQinzhuPlatformId()); |
|
|
|
map.put("timestamp", new Date().getTime()); |
|
|
|
map.put("timestamp", new Date().getTime()); |
|
|
|
map.put("notifyUrl", ""); |
|
|
|
map.put("notifyUrl", CommonSysConst.getSysConfig().getQianzhuOrderNotify()); |
|
|
|
map.put("orderNo", orderNo); |
|
|
|
map.put("orderNo", orderNo); |
|
|
|
map.put("sign", MD5Util.encode(generateSignature(map,CommonSysConst.getSysConfig().getQinzhuSecret()).getBytes()).toLowerCase()); |
|
|
|
map.put("sign", MD5Util.encode(generateSignature(map,CommonSysConst.getSysConfig().getQinzhuSecret()).getBytes()).toLowerCase()); |
|
|
|
return HttpsUtils.doPost(CommonSysConst.getSysConfig().getQinzhuUrl()+"/openApi/v1/orders/payKfcOrder", JSONObject.toJSONString(map)); |
|
|
|
return HttpsUtils.doPost(CommonSysConst.getSysConfig().getQinzhuUrl()+"/openApi/v1/orders/payKfcOrder", JSONObject.toJSONString(map)); |
|
|
|