1.post request. After querystringfy serializes url, the backend cannot receive data. It is initially found that because there is an array in post data, querystringfy serializes the array directly into an empty string
2. The request data format is as follows:
{
"goodsList": [
{
"goodsId": 41,
"salePrice": 11,
"discount": 0,
"amount": 3,
"memo": "",
"empId": ""
}
],
"shopId": 5,
"memo": "123",
"pno": "20",
"empId": "14",
"hangType": 2
}
3. The request code is as follows:
4.: