Skip to content

前端设置发送给服务器的格式和接收服务器数据的格式

{
    contentType: "application/json; charset=utf-8",//发给服务器的格式
    dataType:'json',//接收服务器数据的格式
}