项目明细调整

This commit is contained in:
2025-05-09 10:14:37 +08:00
parent 9652eea78b
commit 7c39a7634a
12 changed files with 38 additions and 67 deletions

View File

@ -407,13 +407,6 @@ public class UserInfoController {
@PostMapping("/test")
@Timeout(5000) // 设置超时时间为 3000 毫秒3秒
public String testMethod() throws InterruptedException {
// 模拟长时间的任务,超过 3 秒会抛出超时异常
Thread.sleep(10000); // 模拟 5 秒的耗时操作
return "任务完成";
}