接口优化
This commit is contained in:
parent
442ac20d3c
commit
b0e4365e04
|
@ -182,11 +182,9 @@ public class Controller {
|
|||
String split = splits[1];
|
||||
channelLabelDto.setNodeName(split);
|
||||
|
||||
Result success = Result.success(channelLabelDto);
|
||||
|
||||
return success;
|
||||
}
|
||||
return Result.error("");
|
||||
|
||||
return Result.success(channelLabelDtos);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -2,7 +2,6 @@ package com.hisense.monitormanage;
|
|||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.hisense.monitormanage.service.MonitorService;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
@ -16,8 +15,15 @@ class MonitorManageApplicationTests {
|
|||
@Autowired
|
||||
private MonitorService monitorService;
|
||||
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
void start1() {
|
||||
monitorService.start1();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue