读取收书设置
读取当前用户的收书偏好(收书开关、价格区间、可收品类等)。
| 请求方式 | GET |
| 接口路径 | /api/collect/setting |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
curl 调用
curl -s 'https://www.8shu8.com/api/collect/setting' \
-H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"enabled": 1,
"pickupKm": 1,
"priceCoefficient": 0.0,
"provinces": [
"string"
],
"provinceOptions": [
"string"
]
}
}
返回字段(data)
| 字段 | 类型 | 说明 |
enabled | Integer | - |
pickupKm | Integer | - |
priceCoefficient | BigDecimal | - |
provinces | Array<String> | - |
provinceOptions | Array<String> | - |