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); }