新增曾用名
This commit is contained in:
@@ -85,6 +85,7 @@ class UserController extends Controller
|
||||
$activePosition = $targetUser->activePosition?->load('position.department')->position;
|
||||
$data = [
|
||||
'username' => $targetUser->username,
|
||||
'previous_name' => $targetUser->previous_name,
|
||||
'sex' => match ((int) $targetUser->sex) {
|
||||
1 => '男', 2 => '女', default => ''
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user