Commit f5e4b048 by levphon

标准接口api

1 parent c18f09ab
......@@ -19,7 +19,7 @@ public interface WorkOrderClient {
* @return
*/
@PostMapping(value = "/create")
public R<Long> create(@RequestBody InstallWorkOrderBO workOrderBO);
public R<List<String>> create(@RequestBody InstallWorkOrderBO workOrderBO);
/**
* 更新工单
......
......@@ -17,7 +17,7 @@ public class WorkOrderFallbackImpl implements WorkOrderClient {
private Throwable cause;
@Override
public R<Long> create(InstallWorkOrderBO workOrderBO) {
public R<List<String>> create(InstallWorkOrderBO workOrderBO) {
log.warn("create 熔断啦 {}", cause.getMessage());
return R.ok("服务异常");
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!