"transdate" to accdate, //我们的记账日期
"transtime" to systime.hosttime,
"refno" to refno,
- "refund_refno" to orignRefno,
+ "refundRefno" to orignRefno,
"amount" to amount,
"description" to "市民卡代扣消费退款",
"sign_type" to "MD5"
"transdate" to systime.hostdate,
"transtime" to systime.hosttime,
"refno" to refno,
- "orign_refno" to orignRefno,
+ "orignRefno" to orignRefno,
"sign_type" to "MD5"
))
val sign = MD5.encodeByMD5(StringUtil.createLinkString(StringUtil.paraFilter(params)) + config[YnrccUtil.YNRCC_SIGNKEY]!!.trim())
@PostMapping("/cardpayrefund")
public DlpayResp cardpayRefund(@FormParam("transcode") String transcode, @FormParam("transdate") String transdate,
@FormParam("transtime") String transtime, @FormParam("refno") String refno,
- @FormParam("refund_refno") String refundRefno,
- @FormParam("amount") Integer amount, @FormParam("description") String description,
+ @FormParam("refundRefno") String refundRefno,
+ @FormParam("amount") Integer amount,
+ @FormParam("description") String description,
@FormParam("sign_type") String sign_type, @FormParam("sign") String sign) {
DlpayResp resp = new DlpayResp();
if (!ynrccParamCheckService.checkPayRefundParam(transcode, transdate, transtime, refno, refundRefno, amount, description, sign_type, sign, resp)) {
params.put("transdate", transdate);
params.put("transtime", transtime);
params.put("refno", refno);
- params.put("refund_refno", refundRefno);
+ params.put("refundRefno", refundRefno);
params.put("amount", String.valueOf(amount));
params.put("description", description);
params.put("sign_type", sign_type);
@PostMapping("/queryresult")
public DlpayResp queryResult(@FormParam("transcode") String transcode, @FormParam("transdate") String transdate,
@FormParam("transtime") String transtime, @FormParam("refno") String refno,
- @FormParam("orign_refno") String orignRefno,
+ @FormParam("orignRefno") String orignRefno,
@FormParam("sign_type") String sign_type, @FormParam("sign") String sign) {
DlpayResp resp = new DlpayResp();
if (!ynrccParamCheckService.checkQueryResultParam(transcode, transdate, transtime, refno, orignRefno, sign_type, sign, resp)) {
params.put("transdate", transdate);
params.put("transtime", transtime);
params.put("refno", refno);
- params.put("orign_refno", orignRefno);
+ params.put("orignRefno", orignRefno);
params.put("sign_type", sign_type);
params.put("sign", sign);
if (!checkYnrccSign(params, resp)) {