post submits a two-dimensional array,
$.post(url, $("-sharporderForm").serialize(), function (data) {
if (data.status == 0) {
$(".tank-tishi-main-con-txt").html("" + msg);
$(".tank-tishi-main").show();
setInterval("window.order.reduce(" + state + ")", 1000);
} else {
layer.msg("");
}
}, "json");
the format of the packet grab request is as follows
skuList[0].goods_id: 1
skuList[0].color: 113_
skuList[0].goods_remark:
skuList[0].21_M:
skuList[0].22_L:
skuList[0].23_XL:
skuList[0].24_XXL:
skuList[0].25_XXXL:
skuList[0].26_4XL:
skuList[0].27_SS:
skuList[0].28_S:
skuList[0].29_M:
skuList[0].210_L:
skuList[0].211_XL:
skuList[0].212_XXL:
the php end receives it with $_ POST, and the print result is
.Array
(
[0] =>
)
unable to receive data, how do I receive it?