使用原生js封装的ajax实例(兼容jsonp) 实例如下:/*封装ajax函数*@param{string}opt.typehttp连接的方式,包括POST和GET两种方式*@param{string 原生js封装ajax