分页查询短链接
GET
/api/short-link/admin/v1/page请求参数
Query 参数
gid
string
分组标识
current
string
当前页
size
string
每页数量
orderTag
string
可选
排序字段,todayPv、todayUv、todayUip、totalPv、totalUv、totalUip,默认创建时间倒序
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
message
null
必需
data
object
必需
size
integer
必需
current
integer
必需
pages
integer
必需
records
array [object {17}]
必需
total
integer
必需
requestId
null
必需
success
boolean
必需
示例
{
"code": "0",
"message": null,
"data": {
"size": 10,
"current": 1,
"pages": 1,
"records": [
{
"id": 1726135008411787300,
"domain": "http://nurl.ink",
"shortUri": "1nqBBw",
"fullShortUrl": "nurl.ink/1nqBBw",
"originUrl": "https://nageoffer.com/",
"gid": "siCwZo",
"validDateType": 0,
"validDate": null,
"createTime": "2023-11-19 15:07:11",
"describe": "consequat quis nisi nulla",
"favicon": "https://nageoffer.com/img/logo3.png",
"totalPv": 2,
"todayPv": 2,
"totalUv": 1,
"todayUv": 1,
"totalUip": 1,
"todayUip": 1
},
{
"id": 1726125503259201500,
"domain": "http://nurl.ink",
"shortUri": "1UHLSX",
"fullShortUrl": "nurl.ink/1UHLSX",
"originUrl": "https://nageoffer.com/",
"gid": "siCwZo",
"validDateType": 0,
"validDate": null,
"createTime": "2023-11-19 14:29:24",
"describe": "consequat quis nisi nulla",
"favicon": "https://nageoffer.com/img/logo3.png",
"totalPv": 10,
"todayPv": 1,
"totalUv": 2,
"todayUv": 0,
"totalUip": 1,
"todayUip": 0
}
],
"total": 2
},
"requestId": null,
"success": true
}
最后修改时间: 1 年前