curl --location --request GET 'http://prod-cn.your-api-server.com/plans?page&per_page' \
--header 'Accept: application/json' \
--header 'X-XSRF-TOKEN: {{x-xsrf-token}}' \
--header 'Authorization: Bearer {{token}}'{
"status": "success",
"message": "successful",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"type": "vip",
"name": "测试套餐",
"intro": "test",
"features": [
"不限上传次数"
],
"badge": "促销"
}
],
"first_page_url": "http://127.0.0.1:8000/api/v2/plans?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://127.0.0.1:8000/api/v2/plans?page=1",
"links": [
{
"url": null,
"label": "« 上一页",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/v2/plans?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "下一页 »",
"active": false
}
],
"next_page_url": null,
"path": "http://127.0.0.1:8000/api/v2/plans",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
},
"time": 1725503741
}