|
|
@ -86,7 +86,7 @@ class ParkingChannel extends Model |
|
|
public static function getFirst($id) |
|
|
public static function getFirst($id) |
|
|
{ |
|
|
{ |
|
|
$item = self::query()->where('id', $id)->first(); |
|
|
$item = self::query()->where('id', $id)->first(); |
|
|
if ($item['name']) { |
|
|
if ($item) { |
|
|
$item['name'] = AdminTranslationService::getTranslationTypeName( |
|
|
$item['name'] = AdminTranslationService::getTranslationTypeName( |
|
|
$id, |
|
|
$id, |
|
|
6, |
|
|
6, |
|
|
|