From e43f61cdeb979d086f5738282eff0a783947b07a Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 11 Dec 2025 12:18:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7cp=E6=8E=A5=E5=8F=A3=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../circle/other/app/command/user/SendCpApplyCmdExe.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/SendCpApplyCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/SendCpApplyCmdExe.java index cc8785e3..d7e1c775 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/SendCpApplyCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/SendCpApplyCmdExe.java @@ -30,6 +30,8 @@ import com.red.circle.wallet.inner.endpoint.wallet.WalletGoldClient; import com.red.circle.wallet.inner.model.cmd.GoldReceiptCmd; import com.red.circle.wallet.inner.model.dto.WalletReceiptResDTO; import com.red.circle.wallet.inner.model.enums.GoldOrigin; + +import java.util.Map; import java.util.Objects; import java.util.concurrent.TimeUnit; import lombok.RequiredArgsConstructor; @@ -114,10 +116,12 @@ public class SendCpApplyCmdExe { cpApplyService.save(cpApply); + Map map = OfficialNoticeUtils.buildUserProfile(userProfile); + map.put("applyType", isReconcile ? "RECONCILE" : "APPLY"); officialNoticeClient.send(NoticeExtTemplateTypeCmd.builder() .toAccount(cmd.getAcceptApplyUserId()) .noticeType(OfficialNoticeTypeEnum.CP_BUILD) - .templateParam(OfficialNoticeUtils.buildUserProfile(userProfile)) + .templateParam(map) .expand(cpApply.getId()) .build() );