角色场景

请求URL:

  • /getRoleScene

请求方式:

  • POST

参数:

参数名 必选 类型 说明
roleId int 角色ID

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "id": 1,
            "roleId": 1,
            "image": "https://muyuhan.s3.amazonaws.com/webUI/test/original/1754392630669420896_IJe4F6Rx.png",
            "title": "测试多场景",
            "description": "测试多场景的描述",
            "type": 2,
            "price": 10,
            "sort": 1,
            "scenario": "故事发生在一个僻静的,烛光庄园栖息在一个深红色的森林边缘。庄园的走廊像迷宫一样曲折,每扇门都通向奢华的房间,在那里,颓废和阴影无缝地融合在一起。",
            "deleteAt": 0,
            "createdAt": 1757885254,
            "updatedAt": 1757885254,
            "isUnlock": true
            "isSet": false
        }
    ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data Array 数据列表
-id int 场景ID
-roleId int 角色ID
-image string 场景图片
-title string 场景标题
-description string 场景描述
-type uint8 场景类型:1-公开;2-付费
-price uint 解锁价格
-sort int 排序
-scenario string 故事场景
-isUnlock bool 是否已解锁
-isSet bool 是否已选中

备注

错误码 510 系统错误 610 邮箱未注册 620 账号或密码错误

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-09-19 14:15:19

results matching ""

    No results matching ""