|
@@ -8,8 +8,10 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import com.diagbot.annotation.SysLogger;
|
|
|
+import com.diagbot.dto.GetConsoleOpenedDTO;
|
|
|
import com.diagbot.dto.ProductAuthProgressDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
+import com.diagbot.facade.OpenedProductsFacade;
|
|
|
import com.diagbot.facade.ProductOrderFacade;
|
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
@@ -27,6 +29,8 @@ public class ProductOrderController {
|
|
|
|
|
|
@Autowired
|
|
|
private ProductOrderFacade productOrderFacade;
|
|
|
+ @Autowired
|
|
|
+ private OpenedProductsFacade openedProductsFacade;
|
|
|
|
|
|
@ApiOperation(value = "控制台-产品认证进度",notes="控制台-产品认证进度")
|
|
|
@PostMapping("/productAuthProgress")
|
|
@@ -34,5 +38,13 @@ public class ProductOrderController {
|
|
|
public RespDTO<List<ProductAuthProgressDTO>> productAuthProgress() {
|
|
|
return RespDTO.onSuc(productOrderFacade.productAuthProgress());
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "控制台-已开通产品",notes="控制台-已开通产品")
|
|
|
+ @PostMapping("/getConsoleOpened")
|
|
|
+ @SysLogger("getConsoleOpened")
|
|
|
+ public RespDTO<List<GetConsoleOpenedDTO>> getConsoleOpened() {
|
|
|
+ return RespDTO.onSuc(openedProductsFacade.getConsoleOpened());
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|