Official.php 944 B

12345678910111213141516171819202122232425262728293031
  1. <?php namespace App\Facades\Servers\Wechat;
  2. use Illuminate\Support\Facades\Facade;
  3. /**
  4. * 对象存储
  5. *
  6. * @method static \EasyWeChat\OfficialAccount\Application getApp() 公众号
  7. * @method static array userFromCode($code) 获取用户授权信息
  8. * @method static array getJssdkConfig($url='') 获取JSSDK的配置数组
  9. * @method static array sendSubscription($params) 发送一次性订阅消息
  10. * @method static array send($params) 发送模板消息
  11. *
  12. *
  13. * @see \App\Servers\Wechat\Official
  14. *
  15. */
  16. class Official extends Facade
  17. {
  18. /**
  19. * Get the registered name of the component.
  20. *
  21. * @return string
  22. */
  23. protected static function getFacadeAccessor()
  24. {
  25. return '\App\Servers\Wechat\Official';
  26. }
  27. }
  28. ?>