|
@@ -253,6 +253,10 @@ public class DeviceInfoController {
|
|
|
|
|
|
@ApiOperation(value="根据IP地址和端口号查找设备")
|
|
|
@PostMapping("getByIpAddressAndPort")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "ipAddress",value = "IP地址", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "port",value = "端口号", paramType = "query")
|
|
|
+ })
|
|
|
public MessageResult<DeviceInfo> getByIpAddressAndPort( String ipAddress,String port,@RequestAttribute String subject) {
|
|
|
MessageResult<DeviceInfo> msgResult = new MessageResult<>();
|
|
|
try {
|