package org.springblade.thirdparty.ocr.feign;

import org.springblade.thirdparty.ocr.config.OCRFeignClientConfig;
import org.springblade.thirdparty.ocr.pojo.dto.OCRCardBankDetRecDTO;
import org.springblade.thirdparty.ocr.pojo.vo.OCRBigCommonCardVO;
import org.springblade.thirdparty.ocr.pojo.vo.OCRResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 *  ocr接口 证件接口，因为端口不同，要新建一个
 * @author bfhuange
 * @date 2024/11/4
 */
@FeignClient(name = "OCRO", url = "${thirdParty.ocr.baseOtherUrl}", configuration = OCRFeignClientConfig.class)
public interface IOCROtherClient {

    /**
     *  磅单业务-证件定位+结构化信息提取接⼝
     * @param param
     * @return imageInfos 没有
     */
    @PostMapping("/CardBankDetRec")
    OCRResultVO<OCRBigCommonCardVO> cardBankDetRec(@RequestBody OCRCardBankDetRecDTO param);
}
