刘光辉
117 分钟以前 06f314545ac3514d7ce28939920866ae8188d31c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package jnpf.dms;
 
import jnpf.base.ActionResult;
import jnpf.dmsEntity.storage.form.DmsPersistentPdfGenerateForm;
import jnpf.dmsEntity.storage.vo.DmsPersistentPdfGenerateVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;
 
@FeignClient(name = "jnpf-file", contextId = "dmsPersistentPdf", path = "/Internal/file/dms")
public interface DmsPersistentPdfApi {
    @PostMapping("/persistent-pdf")
    ActionResult<DmsPersistentPdfGenerateVO> generate(
            @RequestHeader("X-DMS-Service-Id") String serviceId,
            @RequestBody DmsPersistentPdfGenerateForm form);
}