文档
测试

跳转列表

GET
http:/domain/api/front/subhost/rewrite/lists?page=1&sub_host=1.com

请求头

参数名
类型
描述
必填
Content-Type:application/json
sring
必填
Authorization
string
例如:Bearer token值
必填

请求参数

参数名
类型
描述
必填
page
int
当前第几页
可选
limit
int
分页数量,默认15
可选
sub_host
string
根域名
可选

响应参数

参数名
类型
描述
必填
id
int
跳转id
必填
host
string
根域名
必填
rcondUri
string
跳转域名
必填
httpcode
int
状态码
必填
redirectUri
string
跳转地址
必填
created_at
date
添加时间
必填

说明 / 示例

返回参数示例: ``` { "code": 1, "msg": "success", "data": { "current_page": 1, "data": [{ "id": 3, "host": "1.com", "rcondUri": "http:\/\/www.1.com\/(.*)$", "httpcode": 302, "redirectUri": "http:\/\/www.baidu.com", "created_at": "2020-12-09 23:54:44" }], "first_page_url": "http:\/\/127.0.0.1:9907\/api\/front\/subhost\/rewrite\/lists?page=1", "from": 1, "last_page": 1, "last_page_url": "http:\/\/127.0.0.1:9907\/api\/front\/subhost\/rewrite\/lists?page=1", "next_page_url": null, "path": "http:\/\/127.0.0.1:9907\/api\/front\/subhost\/rewrite\/lists", "per_page": 15, "prev_page_url": null, "to": 1, "total": 1 } } ```