function CallAjax(url, data, callBack) {//请求数据
jQuery.ajax({
type: "post",
async: true,
url: url,
data: data,
cache: false,
success: function (result) {
try {
return callBack(JSON.parse(result));
} catch (e) {
return callBack(result);
}
},
error: function (e) {
throw e.message;
}
});
}
jQuery.ajax({
type: "post",
async: true,
url: url,
data: data,
cache: false,
success: function (result) {
try {
return callBack(JSON.parse(result));
} catch (e) {
return callBack(result);
}
},
error: function (e) {
throw e.message;
}
});
}

被折叠的 条评论
为什么被折叠?



