ajax的data传参的两种方式

建议第一种

1.

data: {"orderId":orderId,"commant":commant}, 

2.

data: "orderId=" + orderId + "&commant=" + commant

posted @ 2018-02-01 16:00  lgp20151222  阅读(215)  评论(0编辑  收藏  举报