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.
我正在尝试使用yii和restfullyii扩展,我已经设法让搜索正常工作,现在我正在尝试limit结果并包含一个offset,我将如何使用这个模块及其结果,搜索返回一个基于 a 的数组json发布,我也使用休息控制器
yii
restfullyii
limit
offset
json
是的,您可以使用 _GET vars limit & offset 轻松设置请求的限制和偏移量。这是一个示例 URI:
/api/work?limit=10&offset=30