package com.zjrs.ggfw.rlzysc.bpo;

import com.zjrs.ggfw.rlzysc.dto.FileDTO;
import com.zjrs.ggfw.utils.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Service
@FeignClient(name="ZJRS-WJFW-SERVICE",configuration= FeignConfig.class)
public interface WjfwFeignClientBPO {

    @PostMapping(value = "/api/store/getObject")
    public ResponseEntity<byte[]> getObject(@RequestBody FileDTO dto);

}

