2026-05-08 16:54:51 +07:00
|
|
|
package ru.soune.nocopy.adminpanel.client;
|
|
|
|
|
|
|
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
import ru.soune.nocopy.adminpanel.dto.BaseRequest;
|
|
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
@FeignClient(name = "dashboard", url = "${nocopy-dashboard.url}")
|
|
|
|
|
public interface DashBoardAppClient {
|
|
|
|
|
|
|
|
|
|
@PostMapping("/api/v1/data")
|
|
|
|
|
Map<String, Object> getUsersWithPagination(@RequestBody BaseRequest request);
|
2026-05-25 13:46:14 +07:00
|
|
|
|
|
|
|
|
@PostMapping("api/internal/data")
|
|
|
|
|
Map<String, Object> internalData(@RequestBody BaseRequest request);
|
2026-05-08 16:54:51 +07:00
|
|
|
}
|