OpenApi.php 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. *
  13. * @see \App\Servers\WeiBan\OpenApi
  14. *
  15. */
  16. class OpenApi 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\WeiBan\OpenApi';
  26. }
  27. }
  28. ?>