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;
|
|
/**
|
* 交流电阻负载-状态
|
*/
|
@RestController
|
@RequestMapping("electricState")
|
@Api(tags = "1号,2号大功率整流电源-状态")
|
public class ElectricStateController {
|
|
@GetMapping("ws")
|
@ApiOperation(value="查询webSocket",protocols = "ws",notes = "接口:ws://localhost:8090/websocket,发送消息为deviceId")
|
public Response doc(){
|
return new Response().setMsg(1,"查看接口描述");
|
}
|
|
}
|