package com.ycl.remote.service; import com.ycl.config.feign.FeignConfiguration; import com.ycl.remote.dto.smoke.*; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.SpringQueryMap; import org.springframework.web.bind.annotation.*; @FeignClient(url = "http://116.62.234.187:8088", name = "smokeApi") public interface ISmokeDetectionService { @PostMapping(value = "/loginAction") SmokeResultResponseDto loginAction(@RequestBody LoginParamDto paramDto); @PostMapping(value = "/admin/listAlarmMsg") SmokeResultResponseDto getListAlarmMsg(@RequestBody AlarmMsgParamDto paramDto, @RequestHeader("Auth") String token); }