请求URL:

setting.media.tags

参数:

参数名 是否必须 类型 说明
source_type 必选 int 资源类型 1图片 2音频 3视频

返回示例:

正确时返回:

{
    "result":1,
    "msg":"成功",
    "data":[
        {
            "id":2,
            "title":"test",
            "uniacid":5,
            "source_type":1,
            "tag_type":0,
            "created_at":"2020-12-03 17:27:26",
            "has_many_source":[
                {
                    "source_count":9,
                    "tag_id":2
                }
            ]
        }
    ]
}

错误时返回:

 {
     result: 0,
     msg: ""
}

返回参数说明:

参数名 类型 说明
source_type string 资源类型 1图片2音频3视频
tag_type string 分组类型 1系统分组 2自定义分组
title int 分组标题
source_count int 分组的资源数量