diff --git a/laboratory/src/main/java/com/youlai/laboratory/seata/controller/SeataController.java b/laboratory/src/main/java/com/youlai/laboratory/seata/controller/SeataController.java index 841e43cbd..1997a9b7a 100644 --- a/laboratory/src/main/java/com/youlai/laboratory/seata/controller/SeataController.java +++ b/laboratory/src/main/java/com/youlai/laboratory/seata/controller/SeataController.java @@ -27,8 +27,8 @@ public class SeataController { @ApiOperation("获取模拟数据") @GetMapping("/data") - public Result getData() { - SeataVO result = seataService.getData(); + public Result getData(String orderSn) { + SeataVO result = seataService.getData(orderSn); return Result.success(result); }