package jnpf.onlinedev; import jnpf.base.ActionResult; import jnpf.base.model.uploadedit.UploadEditLease; import jnpf.base.model.uploadedit.UploadEditSaveCommand; import jnpf.utils.FeignName; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.*; @FeignClient(name = FeignName.VUSUALDEV_SERVER_NAME, path = "/Internal/visualdev/upload-edit", contextId = "uploadEditApi") public interface UploadEditApi { @PostMapping("/status-access") ActionResult canReadStatus(@RequestParam("tenantId") String tenantId, @RequestParam("ownerId") String ownerId, @RequestParam("leaseId") String leaseId); @PostMapping("/lease") ActionResult lease(@RequestParam("tenantId") String tenantId, @RequestParam("ownerId") String ownerId, @RequestParam("leaseId") String leaseId); @PostMapping("/save") ActionResult save(@RequestBody UploadEditSaveCommand command); }