whycxzp
2021-09-24 b7226efbe9f5fdcfe33b152baf91eac6ab44b30a
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("dynamicLoadState")
@Api(tags = "交流电阻负载-状态")
public class DynamicLoadStateController {
 
    @GetMapping("ws")
    @ApiOperation(value="查询webSocket",protocols = "ws",notes = "接口:ws://localhost:8090/websocket,发送消息为deviceId")
    public Response doc(){
        return new Response().setMsg(1,"查看接口描述");
    }
 
}