url 地址拼接是经常会遇到的问题.所以必须要掌握这个技术 1.合并参数对象,循环出来. var commonParams = { g_tk: 1928093487, inCharset: 'utf-8', outCharset: 'utf-8', notice: 0, format: 'jsonp' }; var data = Object.assign({}, commonParams, { topid:'', needNewCode: 1, uin: 0, tpl: 3, page: 'd