申请靓号报错处理
This commit is contained in:
parent
e086a6a377
commit
d1aa6b7586
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user