whycrzg
2021-03-31 fa542871eddccdc84381a7744a65ba43e614a917
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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("electric2MWState")
@Api(tags = "3号大功率整流电源-状态")
public class Electric2MWStateController {
 
    @GetMapping("ws")
    @ApiOperation(value="查询webSocket",protocols = "ws",notes = "接口:ws://localhost:8090/websocket,发送消息为deviceId")
    public Response doc(){
        return new Response().setMsg(1,"查看接口描述");
    }
 
}