获取约会场景
请求URL:
/dateScene
请求方式:
- POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| appId | 是 | string | App唯一标识 |
| udid | 是 | string | 唯一设备ID |
| name | 否 | string | 场景名称 |
返回示例
{
"code": 200,
"msg": "success",
"data": [
{
"id": 1250000000,
"name": "People's Park",
"description": "A great place for a couple's date",
"rule": "{{user}} and {{char}} went on a date at the People's Park.",
"round": 30,
"price": 20,
"sort": 0,
"isShow": 1,
"createdAt": -62135596800,
"updatedAt": 1778265908
}
]
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 提示信息 |
| data | array | 场景数据 |
| -id | int | 场景ID |
| -name | string | 场景名称 |
| -description | string | 场景描述 |
| -subscribeExpired | int64 | 订阅过期时间 |
| -round | int | 对话轮数 |
| -price | int | 场景费用 |
备注
错误码 510 系统错误 640 邮箱已注册