From d1aa6b7586f2b1492e04e46438c95c63438be624 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 11 Dec 2025 11:51:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E9=9D=93=E5=8F=B7=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/user/user/BeautifulNumberApplyRestController.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/user/user/BeautifulNumberApplyRestController.java b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/user/user/BeautifulNumberApplyRestController.java index 5e71740b..15450eac 100644 --- a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/user/user/BeautifulNumberApplyRestController.java +++ b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/user/user/BeautifulNumberApplyRestController.java @@ -6,10 +6,7 @@ import com.red.circle.other.app.dto.cmd.user.user.UserSpecialIdApplyCmd; import com.red.circle.other.app.service.user.user.BeautifulNumberApplyService; import lombok.RequiredArgsConstructor; import org.springframework.http.MediaType; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; /** * 申请靓号记录. @@ -35,7 +32,7 @@ public class BeautifulNumberApplyRestController extends BaseController { * @eo.request-type formdata */ @PostMapping - public void apply(UserSpecialIdApplyCmd cmd) { + public void apply(@RequestBody UserSpecialIdApplyCmd cmd) { beautifulNumberApplyService.apply(cmd); }