|
@@ -2,9 +2,9 @@ package com.diagbot.web;
|
|
|
|
|
|
|
|
|
|
import com.diagbot.annotation.SysLogger;
|
|
import com.diagbot.annotation.SysLogger;
|
|
-import com.diagbot.client.AiptServiceClient;
|
|
|
|
import com.diagbot.dto.PushSetDTO;
|
|
import com.diagbot.dto.PushSetDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
|
|
+import com.diagbot.facade.PushSetFacade;
|
|
import com.diagbot.vo.PushSetVO;
|
|
import com.diagbot.vo.PushSetVO;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -29,13 +29,13 @@ import org.springframework.web.bind.annotation.RestController;
|
|
public class PushSetController {
|
|
public class PushSetController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
- private AiptServiceClient aiptServiceClient;
|
|
|
|
|
|
+ private PushSetFacade pushSetFacade;
|
|
|
|
|
|
@ApiOperation(value = "推理配置项[by:zhaops]",
|
|
@ApiOperation(value = "推理配置项[by:zhaops]",
|
|
notes = "mode: 推理模式<br>")
|
|
notes = "mode: 推理模式<br>")
|
|
@PostMapping("/getPushSet")
|
|
@PostMapping("/getPushSet")
|
|
@SysLogger("getPushSet")
|
|
@SysLogger("getPushSet")
|
|
RespDTO<PushSetDTO> getPushSet(@RequestBody PushSetVO pushSetVO) {
|
|
RespDTO<PushSetDTO> getPushSet(@RequestBody PushSetVO pushSetVO) {
|
|
- return RespDTO.onSuc(aiptServiceClient.getPushSet(pushSetVO));
|
|
|
|
|
|
+ return RespDTO.onSuc(pushSetFacade.getPushSet(pushSetVO));
|
|
}
|
|
}
|
|
}
|
|
}
|