4 changed files with 3 additions and 33 deletions
@ -1,15 +0,0 @@ |
|||
package org.dromara.sample.feign; |
|||
|
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
|
|||
@FeignClient(name = "gateway",path = "business") |
|||
public interface BusinessTaskFeign { |
|||
|
|||
@PostMapping("/update/status") |
|||
void updateTaskStatus(@RequestParam String waylineId, |
|||
@RequestParam String status, |
|||
@RequestParam(required = false) String jobId, |
|||
@RequestParam(required = false) String jobName); |
|||
} |
@ -1,4 +1,4 @@ |
|||
package org.dromara.sample.fegin; |
|||
package org.dromara.sample.feign; |
|||
|
|||
import org.dromara.common.core.domain.R; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
Loading…
Reference in new issue