Browse Source

[分账][修复]:保存分账接收者信息

release_toaliyun_real
hupeng 7 years ago
parent
commit
baf9c3b70a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingOrderServiceImpl.java

+ 3
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingOrderServiceImpl.java View File

@@ -227,6 +227,9 @@ public class WxProfitSharingOrderServiceImpl implements WxProfitSharingOrderServ
psCmd.setSign_type("HMAC-SHA256");
psCmd.setReceivers(receivers.toJSONString());

record.setReceivers(receivers.toJSONString());
wxProfitSharingOrderMapper.updateByPrimaryKey(record);
String response;
try {
psCmd.setSign(WxPayment.createSignHMAC(BeanUtils.toStringMap(psCmd), payAccount.getApiKey()));


Loading…
Cancel
Save