2周前 · software 🎯 我的 Spring Boot 控制器看起来没问题… 直到我理解了表示层 当我开始使用 Spring Boot 构建 REST APIs 时,一切看起来都很简单。我写了一个 controller,映射了几个 endpoint,返回 JSON。它能正常工作。但随着…