获取徽章、颜色列表

简要描述
  • 获取徽章、颜色列表
请求URL
  • http://xx.com/supreme/user/get/bc/list
请求方式
  • GET
参数
参数名 必选 类型 说明
userID int 用户ID
返回示例
  {
        "color": [
            {
                "colorID": 1,
                "color": "#000000",
                "colorName": "黑色",
                "level": 1,
                "lockStatus": 0,
                "selectStatus": 0
            },
            {
                "colorID": 2,
                "color": "#BA55D3",
                "colorName": "兰花紫",
                "level": 2,
                "lockStatus": 0,
                "selectStatus": 0
            },
            {
                "colorID": 3,
                "color": "#FFB6C1",
                "colorName": "浅粉色",
                "level": 3,
                "lockStatus": 0,
                "selectStatus": 0
            }
        ],
        "badge": [
            {
                "badgeID": 1,
                "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "iconName": "话痨",
                "level": 1,
                "selectStatus": 0,
                "lockStatus": 0
            },
            {
                "badgeID": 2,
                "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "iconName": "神评",
                "level": 2,
                "selectStatus": 0,
                "lockStatus": 0
            },
            {
                "badgeID": 3,
                "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "iconName": "智者",
                "level": 3,
                "selectStatus": 0,
                "lockStatus": 0
            },
            {
                "badgeID": 4,
                "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "iconName": "大师",
                "level": 4,
                "selectStatus": 0,
                "lockStatus": 0
            }
        ],
        "level": [
            {
                "levelID": 1,
                "levelName": "level 1",
                "badge": [
                    {
                        "badgeID": 1,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "话痨"
                    }
                ],
                "levelUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "background": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "levelPoint": 100,
                "experience": 22,
                "nowLevel": 0
            },
            {
                "levelID": 2,
                "levelName": "level 2",
                "badge": [
                    {
                        "badgeID": 1,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "话痨"
                    },
                    {
                        "badgeID": 2,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "神评"
                    }
                ],
                "levelUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "background": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "levelPoint": 300,
                "experience": 22,
                "nowLevel": 0
            },
            {
                "levelID": 3,
                "levelName": "level 3",
                "badge": [
                    {
                        "badgeID": 1,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "话痨"
                    },
                    {
                        "badgeID": 2,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "神评"
                    },
                    {
                        "badgeID": 3,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "智者"
                    }
                ],
                "levelUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "background": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "levelPoint": 500,
                "experience": 22,
                "nowLevel": 0
            },
            {
                "levelID": 4,
                "levelName": "level 4",
                "badge": [
                    {
                        "badgeID": 1,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "话痨"
                    },
                    {
                        "badgeID": 2,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "神评"
                    },
                    {
                        "badgeID": 3,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "智者"
                    },
                    {
                        "badgeID": 4,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "大师"
                    }
                ],
                "levelUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "background": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "levelPoint": 1000,
                "experience": 22,
                "nowLevel": 0
            },
            {
                "levelID": 5,
                "levelName": "level 5",
                "badge": [
                    {
                        "badgeID": 1,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "话痨"
                    },
                    {
                        "badgeID": 2,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "神评"
                    },
                    {
                        "badgeID": 3,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "智者"
                    },
                    {
                        "badgeID": 4,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "大师"
                    }
                ],
                "levelUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "background": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "levelPoint": 1500,
                "experience": 22,
                "nowLevel": 0
            },
            {
                "levelID": 6,
                "levelName": "level 6",
                "badge": [
                    {
                        "badgeID": 1,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "话痨"
                    },
                    {
                        "badgeID": 2,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "神评"
                    },
                    {
                        "badgeID": 3,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "智者"
                    },
                    {
                        "badgeID": 4,
                        "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_ZLRS.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                        "iconName": "大师"
                    }
                ],
                "levelUrl": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "background": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/topicImg/topic_0_87Be.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "levelPoint": 2000,
                "experience": 22,
                "nowLevel": 0
            }
        ],
        "line": [
            {
                "lineID": 1,
                "color": "#BA55D3",
                "colorName": "兰花紫",
                "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_DGyc.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "level": 1,
                "lockStatus": 0,
                "selectStatus": 0
            },
            {
                "lineID": 2,
                "color": "#BA55D3",
                "colorName": "兰花紫",
                "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_DGyc.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "level": 2,
                "lockStatus": 0,
                "selectStatus": 0
            },
            {
                "lineID": 3,
                "color": "#BA55D3",
                "colorName": "兰花紫",
                "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_DGyc.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "level": 3,
                "lockStatus": 0,
                "selectStatus": 0
            },
            {
                "lineID": 4,
                "color": "#BA55D3",
                "colorName": "兰花紫",
                "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_DGyc.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "level": 4,
                "lockStatus": 0,
                "selectStatus": 0
            },
            {
                "lineID": 5,
                "color": "#BA55D3",
                "colorName": "兰花紫",
                "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_DGyc.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "level": 5,
                "lockStatus": 0,
                "selectStatus": 0
            },
            {
                "lineID": 6,
                "color": "#BA55D3",
                "colorName": "兰花紫",
                "icon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_DGyc.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "level": 6,
                "lockStatus": 0,
                "selectStatus": 0
            }
        ],
        "userTask": [
            {
                "taskID": 1,
                "taskIcon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_0iAP.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "finishTimes": 0,
                "type": 1,
                "status": 0,
                "name": "每日收藏一篇文章",
                "point": 1,
                "times": 1
            },
            {
                "taskID": 2,
                "taskIcon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_JCpu.jpg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "finishTimes": 0,
                "type": 2,
                "status": 0,
                "name": "每日参与三次话题",
                "point": 1,
                "times": 3
            },
            {
                "taskID": 3,
                "taskIcon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_rTWK.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "finishTimes": 0,
                "type": 3,
                "status": 0,
                "name": "每日分享3篇潮流导购文章",
                "point": 1,
                "times": 3
            },
            {
                "taskID": 4,
                "taskIcon": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImgbadge_0_GNWT.jpeg?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "finishTimes": 0,
                "type": 4,
                "status": 0,
                "name": "每日参与匿名爆料一次",
                "point": 1,
                "times": 1
            }
        ]
    }
返回参数说明
参数名 类型 说明
color array 颜色数组
colorID int 颜色ID
color string 颜色16进制码
colorName string 颜色名字
level string 颜色等级
lockStatus int 0上锁,1解锁
selectStatus int 当前选择颜色状态,0未选中,1选中
badge array 徽章等级数组
badgeID int 徽章ID
icon string 徽章解锁后展示的图片
greyIcon string 徽章未解锁的图片
iconName string 徽章名称
level int 徽章等级
lockStatus int 徽章解锁状态0未解锁,1已解锁
level array 等级数组
levelID int 等级ID
levelName string 等级名称
badge array 等级所对应的徽章数组
nowLevel int 当前等级所在的状态,0没有在当前等级,1在当前等级
taskID int 任务ID
taskIcon string 任务图标
finishTimes int 完成次数
type int 任务跳转方向 1收藏文章,2参与话题,3潮流导购,4匿名爆料
status int 0去完成,1领取,2已领取
name string 任务名称
point int 任务完成1次获得积分
times int 总的完成次数
备注
  • 更多返回错误代码请看首页的错误代码描述

欢迎使用ShowDoc!