删除排序
parent
453756c46d
commit
1145121ec3
|
@ -47,8 +47,13 @@ public class ApiUserController {
|
|||
|
||||
@PostMapping("/realname")
|
||||
@Operation(summary = "实名认证",description = "实名认证")
|
||||
public Result RealName(@RequestBody RealNameReq realNameReq) throws JSONException, IOException {
|
||||
RealNameResp realNameResp = realNameService.send(realNameReq);
|
||||
public Result RealName(@RequestBody RealNameReq realNameReq) {
|
||||
RealNameResp realNameResp = null;
|
||||
try {
|
||||
realNameResp = realNameService.send(realNameReq);
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
return Result.success(realNameResp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue