Weapp.php 544 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace core\oauth;
  3. /**
  4. * 微信小程序授权
  5. * Class Weapp
  6. * @package core\oauth
  7. */
  8. class Weapp extends BaseOauth
  9. {
  10. /**
  11. * @param array $config
  12. * @return void
  13. */
  14. protected function initialize(array $config = [])
  15. {
  16. parent::initialize($config);
  17. }
  18. public function getFansInfo(string $openid = null)
  19. {
  20. // TODO: Implement getFansInfo() method.
  21. }
  22. public function oauth(string $code = null, array $options = [])
  23. {
  24. // TODO: Implement oauth() method.
  25. }
  26. }