Browse Source

feat:技师端-开通项目

刘学玺 3 months ago
parent
commit
0591053c1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/CoachUser.php

+ 1 - 1
app/Models/CoachUser.php

@@ -224,7 +224,7 @@ class CoachUser extends Model
     public function validateActiveStatus(?string $message = null): void
     {
         abort_if(
-            $this->state !== TechnicianStatus::ACTIVE->value,
+            $this->state != TechnicianStatus::ACTIVE->value,
             422,
             $message ?? '技师状态异常'
         );