Commit ae26ca5d00f4f7a6ad34245b7054f6629ee8fe6d

Authored by heyho
Committed by Gitee
1 parent 98e6124c

后台驳回佣金提现时,报"模板参数(reason)缺失"

Signed-off-by: heyho <heywsk@qq.com>
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/brokerage/BrokerageWithdrawServiceImpl.java
... ... @@ -96,7 +96,7 @@ public class BrokerageWithdrawServiceImpl implements BrokerageWithdrawService {
96 96 Map<String, Object> templateParams = MapUtil.<String, Object>builder()
97 97 .put("createTime", LocalDateTimeUtil.formatNormal(withdraw.getCreateTime()))
98 98 .put("price", MoneyUtils.fenToYuanStr(withdraw.getPrice()))
99   - .put("reason", withdraw.getAuditReason())
  99 + .put("reason", auditReason)
100 100 .build();
101 101 notifyMessageSendApi.sendSingleMessageToMember(new NotifySendSingleToUserReqDTO()
102 102 .setUserId(withdraw.getUserId()).setTemplateCode(templateCode).setTemplateParams(templateParams));
... ...