From ad177c18fdfafce89f83f1e86ffd6e533b527292 Mon Sep 17 00:00:00 2001
From: tianfeng <769204422@qq.com>
Date: Tue, 2 Dec 2025 10:26:59 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E9=94=99=E5=A4=84=E7=90=86=EF=BC=8C?=
=?UTF-8?q?=20=E6=97=A5=E5=BF=97=E5=8E=BB=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
rc-auth/src/main/resources/logback-spring.xml | 4 ++--
.../src/main/resources/logback-spring.xml | 2 +-
.../redpacket/SendRoomRedPacketCmdExe.java | 21 -------------------
.../app/service/RoomRedPacketServiceImpl.java | 1 -
.../src/main/resources/logback-spring.xml | 2 +-
5 files changed, 4 insertions(+), 26 deletions(-)
diff --git a/rc-auth/src/main/resources/logback-spring.xml b/rc-auth/src/main/resources/logback-spring.xml
index b270fcb8..32ef408f 100644
--- a/rc-auth/src/main/resources/logback-spring.xml
+++ b/rc-auth/src/main/resources/logback-spring.xml
@@ -84,8 +84,8 @@
ap-singapore.cls.tencentcs.com
AKIDSnx10rZK4d6NTRGtIYbPQFuLcp3CB0nR
- c5oT2Y8nNnxzongUDlKkCVfjbLvKUXRC
- 4d467d31-9165-42c6-b80a-2ea23ae7777e
+ c5oT2Y8nNnxzongUDlKkCVfjbLvKUXAC
+ 4d467d31-9165-42c6-b80a-2ea23ae8888e
104857600
diff --git a/rc-gateway/src/main/resources/logback-spring.xml b/rc-gateway/src/main/resources/logback-spring.xml
index 2e1123cb..32f05416 100644
--- a/rc-gateway/src/main/resources/logback-spring.xml
+++ b/rc-gateway/src/main/resources/logback-spring.xml
@@ -85,7 +85,7 @@
ap-singapore.cls.tencentcs.com
AKIDSnx10rZK4d6NTRGtIYbPQFuLcp3CB0nR
c5oT2Y8nNnxzongUDlKkCVfjbLvKUXRC
- 4d467d31-9165-42c6-b80a-2ea23ae7777e
+ 4d467d31-9165-42c6-b80a-2ea23ae8888e
104857600
diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendRoomRedPacketCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendRoomRedPacketCmdExe.java
index bc35f10d..42300b2e 100644
--- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendRoomRedPacketCmdExe.java
+++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/redpacket/SendRoomRedPacketCmdExe.java
@@ -9,7 +9,6 @@ import com.red.circle.framework.core.asserts.ResponseAssert;
import com.red.circle.other.app.convertor.RoomRedPacketAppConvertor;
import com.red.circle.other.app.convertor.user.UserProfileAppConvertor;
import com.red.circle.other.app.dto.clientobject.RoomRedPacketCO;
-import com.red.circle.other.app.dto.cmd.SendPlatformRoomRedPacketCmd;
import com.red.circle.other.app.dto.cmd.SendRoomRedPacketCmd;
import com.red.circle.other.app.util.OfficialNoticeUtils;
import com.red.circle.other.domain.gateway.RoomRedPacketGateway;
@@ -214,26 +213,6 @@ public class SendRoomRedPacketCmdExe {
}
}
- /**
- * 参数校验(平台红包)
- */
- private void validatePlatformParams(SendPlatformRoomRedPacketCmd cmd) {
- // 校验金额(平台红包至少100金币)
- if (cmd.getTotalAmount() < 100) {
- throw new RuntimeException("平台红包金额不能小于100金币");
- }
-
- // 校验个数
- if (cmd.getTotalCount() < 1 || cmd.getTotalCount() > 100) {
- throw new RuntimeException("红包个数必须在1-100之间");
- }
-
- // 校验平均金额(至少1金币/个)
- if (cmd.getTotalAmount() < cmd.getTotalCount()) {
- throw new RuntimeException("红包总金额必须大于等于红包个数");
- }
- }
-
/**
* 扣除用户金币
*/
diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/RoomRedPacketServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/RoomRedPacketServiceImpl.java
index 5b29979e..dc8e183e 100644
--- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/RoomRedPacketServiceImpl.java
+++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/RoomRedPacketServiceImpl.java
@@ -10,7 +10,6 @@ import com.red.circle.other.app.dto.clientobject.RoomRedPacketDetailCO;
import com.red.circle.other.app.dto.cmd.GrabRoomRedPacketCmd;
import com.red.circle.other.app.dto.cmd.QueryRoomRedPacketDetailCmd;
import com.red.circle.other.app.dto.cmd.QueryRoomRedPacketListCmd;
-import com.red.circle.other.app.dto.cmd.SendPlatformRoomRedPacketCmd;
import com.red.circle.other.app.dto.cmd.SendRoomRedPacketCmd;
import com.red.circle.other.app.util.DistributedLockUtil;
import lombok.RequiredArgsConstructor;
diff --git a/rc-service/rc-service-other/other-start/src/main/resources/logback-spring.xml b/rc-service/rc-service-other/other-start/src/main/resources/logback-spring.xml
index 07afa79d..75cb29d7 100644
--- a/rc-service/rc-service-other/other-start/src/main/resources/logback-spring.xml
+++ b/rc-service/rc-service-other/other-start/src/main/resources/logback-spring.xml
@@ -85,7 +85,7 @@
ap-singapore.cls.tencentcs.com
AKIDSnx10rZK4d6NTRGtIYbPQFuLcp3CB0nR
c5oT2Y8nNnxzongUDlKkCVfjbLvKUXRC
- 4d467d31-9165-42c6-b80a-2ea23ae7777e
+ 4d467d31-9165-42c6-b80a-2ea23ae8888e
104857600