package cn.myapps.runtime.common.feign.service;

import cn.myapps.conf.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 远程调用kms服务的接口
 */
@FeignClient(value = "obpm-kms", configuration = FeignConfig.class)
public interface KmsFeignService {

    /**
     * 调用kmsd的html转pdf
     */
    @PostMapping(value = "/kms/api/kms/convert/htmlToPdf")
    String htmlConvertPdf(@RequestParam(value="inputFilePath") String inputFilePath,@RequestParam(value="outputFilePath")String outputFilePath);
}
