對$.post跟$.get從新封裝,將簽名和時間戳傳遞到Header中

jQuery.each(["get", "post"], function (i, method) { jQuery[method] = function (url, data, callback, type) { if (jQuery.isFunction(data)) { type = type || callback;
相關文章
相關標籤/搜索