记得上下班打卡 | git大法好,push需谨慎

Commit 9350b6ff authored by zhengfuxin's avatar zhengfuxin

抖音退款通知。修改bug

parent 1a008a15
...@@ -474,7 +474,7 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService ...@@ -474,7 +474,7 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
JSONObject msg=jsonObject.getJSONObject("msg"); JSONObject msg=jsonObject.getJSONObject("msg");
NotifyUrlDto dto = new NotifyUrlDto(); NotifyUrlDto dto = new NotifyUrlDto();
// 验签 // 验签
if (PayDouYinpayUtils.getInstance().notifySign(msg.get("msg_signature").toString(),jsonObject)) {// 根据配置信息验证签名 if (PayDouYinpayUtils.getInstance().notifySign(jsonObject.get("msg_signature").toString(),jsonObject)) {// 根据配置信息验证签名
//查看退款状态 (退款状态 PROCESSING-处理中|SUCCESS-成功|FAIL-失败) //查看退款状态 (退款状态 PROCESSING-处理中|SUCCESS-成功|FAIL-失败)
if(msg.getString("status").equals("SUCCESS")){ if(msg.getString("status").equals("SUCCESS")){
dto.setStatus(1); dto.setStatus(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment