估价公式参数(读)
读取当前回收估价用的公式参数(系数、上下限等)。
| 请求方式 | GET/POST |
| 接口路径 | /api/recycle/predicate/assessPriceFormula |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
curl 调用
curl -s 'https://www.8shu8.com/api/recycle/predicate/assessPriceFormula' \
-H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"KV_KEY": "string",
"minAvgPrice": 0.0,
"minHalfYearSell": 1,
"sellWeightMax": 0.0,
"sellWeightMin": 0.0,
"sellWeightBase": 0.0,
"priceWeightMax": 0.0,
"priceWeightMin": 0.0,
"priceWeightBase": 0.0,
"finalMultiplier": 0.0
}
}
返回字段(data)
| 字段 | 类型 | 说明 |
KV_KEY | String | - |
minAvgPrice | double | 均价下限(> 此值才进入公式) |
minHalfYearSell | int | 半年销量下限(> 此值才进入公式) |
sellWeightMax | double | 销量权重:scaleByProportion 的 returnMax |
sellWeightMin | double | 销量权重:scaleByProportion 的 returnMin |
sellWeightBase | double | 销量权重:scaleByProportion 的 baseValue(对比近三月销量) |
priceWeightMax | double | 价格权重:scaleByProportion 的 returnMax |
priceWeightMin | double | 价格权重:scaleByProportion 的 returnMin |
priceWeightBase | double | 价格权重:scaleByProportion 的 baseValue(对比均价) |
finalMultiplier | double | 最终乘数:recyclePrice = sellWeight × priceWeight × finalMultiplier × avgPrice |