UserFacade.php 624 B

1234567891011121314151617181920
  1. <?php
  2. namespace App\Facades;
  3. use Illuminate\Support\Facades\Facade;
  4. /**
  5. * @method static array findLoginBy(int $id)
  6. * @method static array findBy(array $conditions, array $fields);
  7. * @method static array wxWebLoginOrReg(string $code, string $ip, $wxUserInfo);
  8. * @method static array appLoginOrReg(string $username, string $password, string $loginIp, int $platform);
  9. * @method static array loginOut(string $token);
  10. * @method static array updateBy(array $conditions, array $data);
  11. */
  12. class UserFacade extends Facade
  13. {
  14. protected static function getFacadeAccessor(){
  15. return 'UserFacadeRepository';
  16. }
  17. }