改进 信息处理

This commit is contained in:
iVampireSP.com 2023-01-15 07:27:00 +08:00
parent d40b29881f
commit 47b1979df6
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -74,7 +74,9 @@ protected static function boot()
if ($user->id_card === null) {
$user->real_name_verified_at = null;
} else {
$user->real_name_verified_at = now();
if ($user->real_name !== null) {
$user->real_name_verified_at = now();
}
// 更新生日
try {