|
@@ -1,23 +1,27 @@
|
|
|
package com.diagbot.web;
|
|
|
|
|
|
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+import javax.validation.Valid;
|
|
|
+
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
import com.diagbot.annotation.SysLogger;
|
|
|
import com.diagbot.dto.QueryAuthProgressDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.dto.UserAuthenticationDTO;
|
|
|
+import com.diagbot.dto.WaitAuthenDTO;
|
|
|
import com.diagbot.facade.UserAuthenticationFacade;
|
|
|
import com.diagbot.vo.UserAuthenticationVO;
|
|
|
+
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.transaction.annotation.Transactional;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
-
|
|
|
-import javax.validation.Valid;
|
|
|
-import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -68,5 +72,12 @@ public class UserAuthenticationController {
|
|
|
public RespDTO<QueryAuthProgressDTO> queryAuthProgress() {
|
|
|
return RespDTO.onSuc(userAuthenticationFacade.queryAuthProgress());
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "控制台-待认证账号数量",notes="控制台-待认证账号数量")
|
|
|
+ @PostMapping("/waitAuthen")
|
|
|
+ @SysLogger("waitAuthen")
|
|
|
+ public RespDTO<WaitAuthenDTO> waitAuthen() {
|
|
|
+ return RespDTO.onSuc(userAuthenticationFacade.waitAuthen());
|
|
|
+ }
|
|
|
|
|
|
}
|