Ajax Post和Get 请求

时间:2023-02-03 12:05:12

admin.req({
url: FlowBaseObj.interFaceUrl.getFormData,
contentType: 'application/json',
cache: false,
async: false,
//type: 'POST',
//data: JSON.stringify(param),
type: 'GET',
data: (postData),
success: function (v) {
if (typeof (callBackFunc) == "function") {
callBackFunc(v);
} else {
if (v.RESULT) {
_self.CurFormData = v.RESPONSE;
} else {
$.alert('Error', v.MESSAGE);
}
}
}
});