{
"draftMsgid": "",
"values": {
"name": "string",
"state": true,
"explain": "string",
"orderType": "string",
"order": "string",
"customerType": "string",
"customerLevel": "string",
"customerId":"string",
"supplierType": "string",
"supplierId": "string",
"rule": "string",
"data_mingxi_rule": [
{
"key": "string",
"cpid": {
"label": "string",
"value": "string"
},
"cpno": "string",
"cpunit": "string",
"cpprice": "string",
"priceRule": {
"priceField": "string",
"calc": "string",
"calcNumber": 0,
"calcRes": 0
}
}
],
"data_mingxi_rule_byTypeid": [
{
"key": "string",
"typeid": {
"label": "string",
"value": "string"
},
"remark": "string",
"priceRule": {
"priceField": "string",
"calc": "string",
"calcNumber": 0
}
}
],
"data_mingxi_rule_byBrand": [
{
"key": "string",
"cpbrand": "string",
"remark": "string",
"priceRule": {
"priceField": "string",
"calc": "string",
"calcNumber": 0
}
}
]
}
}
curl --location --request POST '/api/DifferentPrice/save?opType&msgid&ac' \
--header 'Content-Type: application/json' \
--data-raw '{
"draftMsgid": "",
"values": {
"name": "string",
"state": true,
"explain": "string",
"orderType": "string",
"order": "string",
"customerType": "string",
"customerLevel": "string",
"customerId":"string",
"supplierType": "string",
"supplierId": "string",
"rule": "string",
"data_mingxi_rule": [
{
"key": "string",
"cpid": {
"label": "string",
"value": "string"
},
"cpno": "string",
"cpunit": "string",
"cpprice": "string",
"priceRule": {
"priceField": "string",
"calc": "string",
"calcNumber": 0,
"calcRes": 0
}
}
],
"data_mingxi_rule_byTypeid": [
{
"key": "string",
"typeid": {
"label": "string",
"value": "string"
},
"remark": "string",
"priceRule": {
"priceField": "string",
"calc": "string",
"calcNumber": 0
}
}
],
"data_mingxi_rule_byBrand": [
{
"key": "string",
"cpbrand": "string",
"remark": "string",
"priceRule": {
"priceField": "string",
"calc": "string",
"calcNumber": 0
}
}
]
}
}'
{
"errcode": 0,
"errmsg": "string"
}