获取指定应用的详细信息,包括版本历史、完整描述等。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| id | int | 否* | 应用ID(id 和 slug 至少传一个) |
| slug | string | 否* | 应用英文标识 |
| domain | string | 否 | 当前域名(用于获取用户价格) |
| license_key | string | 否 | 授权码 |
{
"code": 200,
"msg": "success",
"data": {
"id": 1,
"name": "示例插件",
"slug": "example_plugin",
"type": "plugin",
"category_id": 1,
"description": "这是一个示例插件的简短描述",
"content": "<p>这是应用的详细介绍HTML内容</p>",
"author": "DCSHOP",
"author_url": "https://dcshop.dev",
"cover": "https://xxx/cover.jpg",
"screenshots": ["https://xxx/1.jpg", "https://xxx/2.jpg"],
"price": 100,
"price_vip": 80,
"price_svip": 50,
"price_supreme": 0,
"free_for_supreme": 1,
"user_price": 80,
"user_level": 1,
"version": "1.2.0",
"demo_url": "https://demo.example.com",
"sales": 150,
"created_at": "2025-01-01 00:00:00",
"updated_at": "2026-01-01 00:00:00",
"versions": [
{
"version": "1.2.0",
"changelog": "1. 新增功能A\n2. 修复BUG B",
"created_at": "2026-01-01 00:00:00"
},
{
"version": "1.1.0",
"changelog": "1. 优化性能\n2. 新增功能C",
"created_at": "2025-06-01 00:00:00"
}
]
}
}
| 字段 | 类型 | 说明 |
|---|---|---|
| content | string | 应用详细介绍(HTML格式) |
| screenshots | array | 应用截图URL数组 |
| free_for_supreme | int | 至尊会员是否免费:1=免费, 0=不免费 |
| demo_url | string | 演示地址 |
| versions | array | 版本历史(最近10条) |
获取当前授权用户的信息,包括余额、授权类型等。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| license_key | string | 否* | 授权码(推荐) |
| domain | string | 否* | 当前域名 |
{
"code": 200,
"msg": "success",
"data": {
"username": "user123",
"email": "user@example.com",
"balance": 500.00,
"license_type": "svip",
"license_type_name": "SVIP",
"expire_time": "2026-12-31 23:59:59"
}
}