豆豆明细 websocket测试 GET api/distion/integral/detail 响应参数 参数名 类型 描述 必填 data object 分页数据 必填 current_page int 当前页 必填 last_page int 最后一页 必填 data array 豆豆明细 必填 source string 获得说明 必填 num int 获得数量 必填 created_at string 获得时间 必填 type int 0,增加,1,减少 必填 说明 / 示例 { "data": { "current_page": 1, "data": [ { "id": 4, "type": 0, "source": "分享用户购买商品获得", "created_at": "2022-07-26 15:02:03", "updated_at": "2022-07-26 15:02:03", "user_id": 1, "num": 5 }, { "id": 2, "type": 0, "source": "购买商品获得", "created_at": "2022-07-26 14:22:35", "updated_at": "2022-07-26 14:22:35", "user_id": 1, "num": 5 }, { "id": 1, "type": 0, "source": "购买商品获得", "created_at": "2022-07-26 14:16:58", "updated_at": "2022-07-26 14:16:58", "user_id": 1, "num": 10 } ], "first_page_url": "http://127.0.0.77/api/distion/integral/detail?page=1", "from": 1, "last_page": 1, "last_page_url": "http://127.0.0.77/api/distion/integral/detail?page=1", "next_page_url": null, "path": "http://127.0.0.77/api/distion/integral/detail", "per_page": "3", "prev_page_url": null, "to": 3, "total": 3 } }
{ "data": { "current_page": 1, "data": [ { "id": 4, "type": 0, "source": "分享用户购买商品获得", "created_at": "2022-07-26 15:02:03", "updated_at": "2022-07-26 15:02:03", "user_id": 1, "num": 5 }, { "id": 2, "type": 0, "source": "购买商品获得", "created_at": "2022-07-26 14:22:35", "updated_at": "2022-07-26 14:22:35", "user_id": 1, "num": 5 }, { "id": 1, "type": 0, "source": "购买商品获得", "created_at": "2022-07-26 14:16:58", "updated_at": "2022-07-26 14:16:58", "user_id": 1, "num": 10 } ], "first_page_url": "http://127.0.0.77/api/distion/integral/detail?page=1", "from": 1, "last_page": 1, "last_page_url": "http://127.0.0.77/api/distion/integral/detail?page=1", "next_page_url": null, "path": "http://127.0.0.77/api/distion/integral/detail", "per_page": "3", "prev_page_url": null, "to": 3, "total": 3 } }