'安卓', self::IOS => '苹果', ]; public static function getDeviceTypeText($deviceType) { return self::$deviceTypeList[$deviceType] ?? '未知'; } }