RemoteWebSocketService.java 394 B

1234567891011121314
  1. package com.usky.alarm;
  2. import com.usky.common.core.bean.ApiResult;
  3. import org.springframework.cloud.openfeign.FeignClient;
  4. import org.springframework.web.bind.annotation.*;
  5. @FeignClient(contextId = "remoteWebSocketService", value = "service-alarm")
  6. public interface RemoteWebSocketService {
  7. @PostMapping("/selfCheck")
  8. ApiResult<Void> selfCheck(@RequestBody String requestBody);
  9. }