1.技术监督试运行bug修改和全景问题接口调整
This commit is contained in:
@@ -46,4 +46,10 @@ public interface TerminalBaseClient {
|
||||
*/
|
||||
@GetMapping("/terminalSyncRunFly")
|
||||
HttpResult<Boolean> terminalSyncRunFly(@RequestParam("lineId") String lineId);
|
||||
|
||||
/**
|
||||
* 监测点信息删除
|
||||
*/
|
||||
@GetMapping("/terminalSyncDeleteFly")
|
||||
HttpResult<Boolean> terminalSyncDeleteFly(@RequestParam("lineId") String lineId);
|
||||
}
|
||||
|
||||
@@ -50,6 +50,12 @@ public class TerminalBaseClientFallbackFactory implements FallbackFactory<Termin
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<Boolean> terminalSyncDeleteFly(String lineId) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "监测点信息删除", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user