优化存点
This commit is contained in:
@@ -634,6 +634,7 @@ class ChatController extends Controller
|
||||
} elseif ($user->user_level >= $superLevel) {
|
||||
$title = '管理员';
|
||||
}
|
||||
$identitySummary = $this->chatUserPresenceService->buildIdentitySummary($user);
|
||||
|
||||
return response()->json([
|
||||
'status' => 'success',
|
||||
@@ -644,6 +645,11 @@ class ChatController extends Controller
|
||||
'jjb_gain' => $actualJjbGain,
|
||||
'user_level' => $user->user_level,
|
||||
'title' => $title,
|
||||
'identity_summary' => $identitySummary['inline'],
|
||||
'department_name' => $identitySummary['department_name'],
|
||||
'position_name' => $identitySummary['position_name'],
|
||||
'vip_name' => $identitySummary['vip_name'],
|
||||
'vip_icon' => $identitySummary['vip_icon'],
|
||||
'leveled_up' => $leveledUp,
|
||||
'is_max_level' => $user->user_level >= $superLevel,
|
||||
'auto_event' => $autoEvent ? $autoEvent->renderText($user->username) : null,
|
||||
|
||||
Reference in New Issue
Block a user