no message

This commit is contained in:
kuaifan
2022-04-13 14:57:30 +08:00
parent 6cd3449571
commit f76016860f
3 changed files with 13 additions and 3 deletions
+10
View File
@@ -169,6 +169,16 @@ class User extends AbstractModel
}
}
/**
* 删除会员
* @return bool|null
*/
public function deleteUser()
{
UserEmailVerification::whereEmail($this->email)->delete();
return $this->delete();
}
/** ***************************************************************************************** */
/** ***************************************************************************************** */
/** ***************************************************************************************** */