{
"shortRateList": [
{
"indexCode": "240021.IB",
"ratio": 0.10
},
{
"indexCode": "240003.IB",
"ratio": 0.20
},
{
"indexCode": "240001.IB",
"ratio": 0.30
}
],
"longRateList": [
{
"indexCode": "240013.IB",
"ratio": 0.40
},
{
"indexCode": "240011.IB",
"ratio": 0.50
},
{
"indexCode": "2400006.IB",
"ratio": 0.60
}
],
"shortCreditList": [
{
"indexCode": "240021.IB",
"ratio": 0.70
}
],
"longCreditList": [
{
"indexCode": "240003.IB",
"ratio": 0.80
}
]
}curl --location --request POST '/admin/valuation/index/edit' \
--header 'Content-Type: application/json' \
--data-raw '{
"shortRateList": [
{
"indexCode": "240021.IB",
"ratio": 0.10
},
{
"indexCode": "240003.IB",
"ratio": 0.20
},
{
"indexCode": "240001.IB",
"ratio": 0.30
}
],
"longRateList": [
{
"indexCode": "240013.IB",
"ratio": 0.40
},
{
"indexCode": "240011.IB",
"ratio": 0.50
},
{
"indexCode": "2400006.IB",
"ratio": 0.60
}
],
"shortCreditList": [
{
"indexCode": "240021.IB",
"ratio": 0.70
}
],
"longCreditList": [
{
"indexCode": "240003.IB",
"ratio": 0.80
}
]
}'{"ret":10000,"msg":"信用长债必须填1个","err":"信用长债必须填1个","data":null,"ok":false}