added phone verification

This commit is contained in:
jack
2018-04-26 11:44:04 +08:00
parent 456b5a8028
commit a85e58af54
6 changed files with 158 additions and 30 deletions
+5
View File
@@ -47,4 +47,9 @@ class User extends Authenticatable implements JWTSubject
return [];
}
public function phoneVerification()
{
return $this->hasOne('App\UserVerification', 'user_id');
}
}