Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Spock 的文档中,这里https://www.spock.li/2015/04/19/type-safe_routing.html,它只描述了如何从 get 请求中捕获参数。我需要从帖子中捕获。我怎样才能做到这一点?
您可以使用相同的 param'或param功能。从文档中:
param'
param
读取请求参数。Spock 先查看 POST 变量,然后再查看 GET 变量