AdminUserService.php 415 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * @Name
  4. * @Description
  5. * @Author 刘学玺
  6. * @Date 2024/8/23 10:20
  7. */
  8. namespace App\Http\Services\Backend\Server\System;
  9. use App\Models\System\User;
  10. class AdminUserService
  11. {
  12. public static function getUserByUsername($username)
  13. {
  14. return User::query()->where('username', $username)->first();
  15. }
  16. public static function isPasswordMatch($password, $matchPassword)
  17. {
  18. }
  19. }