版权声明:本博文,由(曾梦想仗剑走天涯,现如今脱发眼已瞎)的Anles编写,可随意转载,你喜欢就好。 https://blog.csdn.net/qq_42926373/article/details/85231454
(function(window, undefined) {
"use strict"
var _global;
var wxUtils = {
}
var wxpay = function(){
}
// 暴露给全局对象
_global = (function(){ return this || (0, eval)('this'); }());
if (typeof module !== "undefined" && module.exports) {
module.exports = wxUtils;
} else if (typeof define === "function" && define.amd) {
define(function(){return wxUtils;});
} else {
!('wxUtils' in _global) && (_global.wxUtils = wxUtils);
}
})(window);