返回首页
POST 获取单应用详情
https://dcshop.xzsc.cc/store_api.php?action=detail
接口说明

获取指定应用的详细信息,包括版本历史、完整描述等。

请求参数
参数类型必填说明
idint否*应用ID(id 和 slug 至少传一个)
slugstring否*应用英文标识
type / template_typestring当不同模板类型存在相同 slug 时建议传入,避免查询串应用。
domainstring当前域名(用于获取用户价格)
license_keystring授权码
返回示例
{
    "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_price_monthly": 20,
        "user_level": 1,
        "has_monthly": 1,
        "allow_buyout": 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"
            }
        ]
    }
}
返回字段说明
字段类型说明
contentstring应用详细介绍(HTML格式)
screenshotsarray应用截图URL数组
free_for_supremeint至尊会员是否免费:1=免费, 0=不免费
has_monthlyint是否支持月付:1=支持, 0=不支持
allow_buyoutint是否允许买断:1=允许, 0=只允许月付
demo_urlstring演示地址
versionsarray版本历史(最近10条)