code: function fullEncodeURIComponent (str) {
      var rv = encodeURIComponent(str).replace(/[!'()*~]/g, function(c) {
        return '%' + c.charCodeAt(0).toString(16).toUpperCase();
      });
      return rv.replace(/\%20/g,'+');
  }
docs: /*
  兼容php的urlencode
  
  @param {string} str 需要url编码的字符串
  @return {string} 编码后的字符串