mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-11-04 08:06:12 +08:00 
			
		
		
		
	后台驳回佣金提现时,报"模板参数(reason)缺失"
Signed-off-by: heyho <heywsk@qq.com>
This commit is contained in:
		@ -96,7 +96,7 @@ public class BrokerageWithdrawServiceImpl implements BrokerageWithdrawService {
 | 
				
			|||||||
        Map<String, Object> templateParams = MapUtil.<String, Object>builder()
 | 
					        Map<String, Object> templateParams = MapUtil.<String, Object>builder()
 | 
				
			||||||
                .put("createTime", LocalDateTimeUtil.formatNormal(withdraw.getCreateTime()))
 | 
					                .put("createTime", LocalDateTimeUtil.formatNormal(withdraw.getCreateTime()))
 | 
				
			||||||
                .put("price", MoneyUtils.fenToYuanStr(withdraw.getPrice()))
 | 
					                .put("price", MoneyUtils.fenToYuanStr(withdraw.getPrice()))
 | 
				
			||||||
                .put("reason", withdraw.getAuditReason())
 | 
					                .put("reason", auditReason)
 | 
				
			||||||
                .build();
 | 
					                .build();
 | 
				
			||||||
        notifyMessageSendApi.sendSingleMessageToMember(new NotifySendSingleToUserReqDTO()
 | 
					        notifyMessageSendApi.sendSingleMessageToMember(new NotifySendSingleToUserReqDTO()
 | 
				
			||||||
                .setUserId(withdraw.getUserId()).setTemplateCode(templateCode).setTemplateParams(templateParams));
 | 
					                .setUserId(withdraw.getUserId()).setTemplateCode(templateCode).setTemplateParams(templateParams));
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user