Controller修改、controller删除

This commit is contained in:
2026-06-03 15:36:03 +08:00
parent 5a57c32558
commit 95126e85e7

View File

@@ -13,7 +13,7 @@ public class UserController {
* 查询用户详情 — 含多种参数类型,便于测试增删改检测。
*/
@GetMapping("/{id}")
public String getUser(@PathVariable("id") Long id, @RequestParam(value = "includeDisabled", required = false, defaultValue = "false") Boolean includeDisabled) {
public String getUser(@PathVariable("id") String id, @RequestParam(value = "test", required = false, defaultValue = "false") Boolean includeDisabled) {
return "ok";
}