简要描述:
请求URL:
GET/route=plugin.tg-decorate.frontend.app.index
请求参数说明:
参数名 |
类型 |
必填 |
说明 |
longitude |
int |
否 |
经度 |
latitude |
int |
否 |
纬度 |
is_refresh |
bool |
否 |
换新应用 |
page_size |
int |
否 |
分页大小(默认15) |
返回示例:
{
"result": 1,
"msg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"logo": "https://w.wallhaven.cc/full/v9/wallhaven-v9e9k8.png",
"link": "https://w.wallhaven.cc/full/v9/wallhaven-v9e9k8.png",
"mini": "https://w.wallhaven.cc/full/v9/wallhaven-v9e9k8.png",
"title": "sed",
"font_color": "https://w.wallhaven.cc/full/v9/wallhaven-v9e9k8.png"
}
],
"first_page_url": "http://localhost:8788/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 3,
"last_page_url": "http://localhost:8788/addons/yun_shop/api.php?page=3",
"next_page_url": "http://localhost:8788/addons/yun_shop/api.php?page=2",
"path": "http://localhost:8788/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 15,
"total": 45
}
}
返回参数说明:
参数名 |
类型 |
说明 |
logo |
string |
应用logo地址 |
title |
string |
应用名称 |
link |
string |
h5 |
mini |
string |
小程序 |