/**
 * Created by godsong on 16/7/22.
 */

/**
 * Created by godsong on 16/8/8.
 */
var Url=require('url');
var QS=require('querystring');
var urlObj=Url.parse('http://abc.com/a/b/123.js?abc=123',true);
console.log(urlObj);
urlObj.query['_wx_tpl']=123;
urlObj.search='';
console.log(Url.format(urlObj));