diff --git a/electripper-common/src/main/java/com/ruoyi/common/pay/tm/TmPayService.java b/electripper-common/src/main/java/com/ruoyi/common/pay/tm/TmPayService.java index c97c68f..d70f654 100644 --- a/electripper-common/src/main/java/com/ruoyi/common/pay/tm/TmPayService.java +++ b/electripper-common/src/main/java/com/ruoyi/common/pay/tm/TmPayService.java @@ -90,6 +90,7 @@ public class TmPayService { body.put("outTradeId", payable.getOutTradeNo()); body.put("body", payable.getDescription()); body.put("notifyUrl", channel.getNotifyUrl()); + body.put("openid", payable.getOpenid()); String response = doPost(channel.getHttpUrl() + "/open/Pay/miniPay", body, channel); if (com.ruoyi.common.utils.StringUtils.hasText(response)) {