var dataArr = [{"username":"666","name2":"777"},{"username":"888","name2":"999"}]; var params = JSON.stringify(dataArr); $.post("p.do", {params : params}, function(data){ });
var params = JSON.stringify(dataArr);
先转成字符串后,再发送
时间: 2024-12-15 23:06:27