









后定义的 Read 请求直接覆盖了前面的, xcode 屁声不放
app.get("hello","vapor") { req in
return "helo, vapor"
}
// TODO: covered last same path
app.on(.GET, "hello","vapor") { req in
return "wow"
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。