/**
 * 系统时间 的专属转换器
 */
export const SystemTimeMapper = (raw: Object): string => {
  console.info("RabbitLog_Mapper_Type: " + typeof raw);
  if (typeof raw === 'string') {
    return raw;
  }

  if (typeof raw === 'object' && raw !== null) {
    const dataField = (raw as Record<string, Object>)['data'];
    return dataField ? String(dataField) : String(raw);
  }

  return String(raw);
};
