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