diff --git a/src/core/platform/web/ajax.js b/src/core/platform/web/ajax.js deleted file mode 100644 index 5ec028df2..000000000 --- a/src/core/platform/web/ajax.js +++ /dev/null @@ -1,22 +0,0 @@ -// BI请求 -_.extend(BI, { - - ajax: function (option) { - option || (option = {}); - var async = option.async; - option.data = BI.cjkEncodeDO(option.data || {}); - - $.ajax({ - url: option.url, - type: "POST", - data: option.data, - async: async, - error: option.error, - complete: function (res, status) { - if (BI.isFunction(option.complete)) { - option.complete(BI.jsonDecode(res.responseText), status); - } - } - }); - } -}); \ No newline at end of file