|
@@ -36,6 +36,10 @@ public class HelloWorld {
|
|
|
AlarmInfoCache alarmInfoCache;
|
|
|
@Autowired
|
|
|
AlarmRecordRepository alarmRecordRepository;
|
|
|
+ @PostMapping("/")
|
|
|
+ public String world(@RequestBody JSONObject jsonObject) throws Exception {
|
|
|
+ return "hello world!";
|
|
|
+ }
|
|
|
@PostMapping("/testMesage")
|
|
|
public String testMesage(@RequestBody JSONObject jsonObject) throws Exception {
|
|
|
NettyMessage nettyMessage = new NettyMessage();
|