package com.prolog.upcloud.base.wh.operate.resource;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(value = "${prolog.integration.url}")
public interface IntegrationResource {

    @PostMapping("/http/service")
    String httpService(@RequestBody Map<String, Object> bodyData);

}