package com.whyc.controller;
|
|
import com.whyc.dto.Response;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
@Api(tags = "websocket请求")
|
@RestController
|
@RequestMapping("websocket")
|
public class RealTimeController {
|
|
@ApiOperation(value = "实时界面websocket",notes = "请求链接:ws://localhost:8090/fg/RealTime 传参:{\"battGroupId\":\"1000028\",\"devId\":\"618500012\",\"powerDeviceId\":\"100202\",\"pageType\":\"standard\"}")
|
@GetMapping("getRealTime")
|
public Response getRealTime(){
|
return new Response();
|
}
|
|
@ApiOperation(value = "后台线程管理界面websocket",notes = "请求链接:ws://localhost:8089/fg/processSurvey")
|
@GetMapping("getProcessSurvey")
|
public Response getProcessSurveyList(){return new Response();}
|
|
@ApiOperation(value = "设备工作状态",notes = "请求链接:ws://localhost:8089/fg/fbsState 传参:{\"pageNum\":\"1\",\"pageSize\":\"10\",\"devErrcommcount\":\"1\",\"userId\":\"1002\"}")
|
@GetMapping("getFbsState")
|
public Response getFbsState(){return new Response();}
|
}
|