状态下拉

This commit is contained in:
2025-07-03 15:53:34 +08:00
parent 6bb4e87280
commit b9d9095278
+6 -1
View File
@@ -97,6 +97,11 @@ class TicketService
{
$locale = locale();
$ticket_status = $locale == 'zh'? Constants::TICKET_STATUS_ZH:Constants::TICKET_STATUS_EN;
return $ticket_status;
$status = [];
foreach ($ticket_status as $key => $value) {
$status[] = ['value' => $key, 'text' => $value];
}
return $status;
}
}