OpenApi.php 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php namespace App\Facades\Servers\WeiBan;
  2. use Illuminate\Support\Facades\Facade;
  3. /**
  4. * 对象存储
  5. *
  6. * @method static string getAccessToken() 获取凭证
  7. * @method static array getUserList(int $limit,int $offset,int $startTime=0,string $source='remark') 获取用户列表
  8. * @method static array getUserDetail(string $id) 获取用户详情
  9. * @method static array getUserListByPhone($phone) 通过手机获取用户列表
  10. * @method static array getTagList(int $limit=100,int $offset=0) 获取标签列表
  11. * @method static array markTags($extUserid,$addTags,$rmTags,$staffId) 给客户打标签
  12. * @method static array addTag($staffId,$extUserid,$tagGroup,$tagName) 给客户添加企业标签
  13. *
  14. * @see \App\Servers\WeiBan\OpenApi
  15. *
  16. */
  17. class OpenApi extends Facade
  18. {
  19. /**
  20. * Get the registered name of the component.
  21. *
  22. * @return string
  23. */
  24. protected static function getFacadeAccessor()
  25. {
  26. return '\App\Servers\WeiBan\OpenApi';
  27. }
  28. }
  29. ?>