Controller修改
Some checks failed
API接口参数变更检测 / api-param-check (push) Failing after 17s

This commit is contained in:
2026-06-03 15:41:56 +08:00
parent 0600feed2e
commit 0fd10f9d46

View File

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