post请求 var url = this.server + "?action=dwm_canbeoperated&tablename=" + tableName; url = $yw.g.id.appendUrl(url); data = JSON.stringify(data); var postData = {"data": data}; $.ajax({ async: false, cache: false, type: 'POST', data: postData, url: url, success: function (data) { result = data; result.type = "undelete"; } }) get请求 $.ajax({ async: false, cache: false, type: 'GET', url: edpurl, uccess: function (data) { var rows = data.rows; result.dataoperatorid = rows[0]; } });