OpenWork.php 1006 B

123456789101112131415161718192021222324252627282930
  1. <?php namespace App\Facades\Servers\Wechat;
  2. use Illuminate\Support\Facades\Facade;
  3. /**
  4. * 对象存储
  5. *
  6. * @method static \EasyWeChat\OpenWork\Application getApp() 获取应用实例
  7. * @method static \EasyWeChat\Work\Application getWork(string $authCorpId) 获取授权企企微实例
  8. * @method static string getPermanentCode(string $authCorpId) 通过授权方企微ID获取永久授权码
  9. * @method static array getAuthorization($authCorpId) 获取授权企业授权授权信息
  10. * @method static string getErrmsg($errcode) 获取错误信息
  11. *
  12. * @see \App\Servers\Wechat\OpenWork
  13. *
  14. */
  15. class OpenWork extends Facade
  16. {
  17. /**
  18. * Get the registered name of the component.
  19. *
  20. * @return string
  21. */
  22. protected static function getFacadeAccessor()
  23. {
  24. return '\App\Servers\Wechat\OpenWork';
  25. }
  26. }
  27. ?>