Commit 514cdfb5 by chamberone

feat: 测试类更新

1 parent 888dd6a6
...@@ -50,7 +50,7 @@ public class OrderController { ...@@ -50,7 +50,7 @@ public class OrderController {
} }
@GetMapping("/test") @GetMapping("/test")
public Result<?> test(@RequestParam("param") String param) { public Result<?> test(@RequestParam(value = "param", required = false) String param) {
System.out.println("test ok"); System.out.println("test ok");
return Result.success("test ok"); return Result.success("test ok");
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!