lib/Auth.js
function (shopKey, state) {
    if (arguments.length < 1) {
      throw paramError;
    }
    return this.protocol + '://' + this.host + '/oauth2/authorize?' + querystring.stringify({
      response_type: 'code',
      client_id: this.app_key,
      shop_key: shopKey,
      scope: this.scope.join(','),
      state: state,
      redirect_uri: this.redirect_url
    }, null, null, { encodeURIComponent: null });
  }
function (shopKey, state) {
    if (arguments.length < 1) {
      throw paramError;
    }
    return this.protocol + '://' + this.host + '/oauth2/authorize?' + querystring.stringify({
      response_type: 'code',
      client_id: this.app_key,
      shop_key: shopKey,
      scope: this.scope.join(','),
      state: state,
      redirect_uri: this.redirect_url
    }, null, null, { encodeURIComponent: null });
  }
获取应用授权页面地址，用于开放应用
@param {string} shopKey
@param {string} state
@return {string}