code: def get_auth_url(self, s_pappid, order_id, money, timestamp, source, ticket, auth_type, redirect_url=None):
          
          if source not in {'app', 'web', 'wap'}:
              raise ValueError('Unsupported source. Valid sources are "app", "web" or "wap"')
          if source == 'web' and redirect_url is None:
              raise ValueError('redirect_url is required if source is web')
          if not (0 <= auth_type <= 2):
              raise ValueError('Unsupported auth type. Valid auth types are 0, 1 or 2')
          return self._post(
              'getauthurl',
              data={
                  's_pappid': s_pappid,
                  'order_id': order_id,
                  'money': money,
                  'timestamp': timestamp,
                  'source': source,
                  'ticket': ticket,
                  'type': auth_type,
                  'redirect_url': redirect_url,
              },
              result_processor=lambda x: x['auth_url'],
          )
docs: 获取授权页链接
          详情请参考
          https://mp.weixin.qq.com/wiki?id=mp1497082828_r1cI2
  
          :param s_pappid: 开票平台在微信的标识号，商户需要找开票平台提供
          :param order_id: 订单id，在商户内单笔开票请求的唯一识别号
          :param money: 订单金额，以分为单位
          :type money: int
          :param timestamp: Unix 时间戳
          :type timestamp: int
          :param source: 开票来源。app: App开票, web: 微信H5开票, wap: 普通网页开票
          :param ticket: 根据获取授权ticket接口取得
          :param auth_type: 授权类型。0: 开票授权，1: 填写字段开票授权，2: 领票授权
          :type auth_type: int
          :param redirect_url: 授权成功后跳转页面。本字段只有在source为H5的时候需要填写。
          :return: 获取授权页链接