申请靓号报错处理

This commit is contained in:
tianfeng 2025-12-11 11:51:10 +08:00
parent e086a6a377
commit d1aa6b7586

View File

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