|
|
@@ -3,9 +3,11 @@ package com.usky.cdi;
|
|
|
import com.usky.cdi.factory.RemotecdiTaskFactory;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
@FeignClient(contextId = "RemotecdiTaskService", value = "service-cdi", fallbackFactory = RemotecdiTaskFactory.class)
|
|
|
public interface RemotecdiTaskService {
|
|
|
@GetMapping("/synchronizeDeviceData")
|
|
|
- void synchronizeDeviceData(Integer tenantId, Long engineeringId);
|
|
|
+ void synchronizeDeviceData(@RequestParam Integer tenantId,
|
|
|
+ @RequestParam Long engineeringId);
|
|
|
}
|