删除排序
parent
ba8f4425ef
commit
a6fe81a072
|
@ -39,10 +39,6 @@ public class ApiUserController {
|
||||||
@Resource(name ="source-real-name")
|
@Resource(name ="source-real-name")
|
||||||
private BasicApi<RealNameReq, RealNameResp> realNameService;
|
private BasicApi<RealNameReq, RealNameResp> realNameService;
|
||||||
|
|
||||||
public ApiUserController( BasicApi<RealNameReq, RealNameResp> realNameService) {
|
|
||||||
this.realNameService = realNameService;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("/realname")
|
@PostMapping("/realname")
|
||||||
@Operation(summary = "实名认证",description = "实名认证")
|
@Operation(summary = "实名认证",description = "实名认证")
|
||||||
|
@ -50,10 +46,11 @@ public class ApiUserController {
|
||||||
RealNameResp realNameResp = null;
|
RealNameResp realNameResp = null;
|
||||||
try {
|
try {
|
||||||
realNameResp = realNameService.send(realNameReq);
|
realNameResp = realNameService.send(realNameReq);
|
||||||
|
return Result.success(realNameResp);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
return Result.success(realNameResp);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue