|
|
@@ -223,7 +223,9 @@ public class ThInspectionServiceImpl extends BaseServiceImpl<ThInspectionMapper, |
|
|
|
@Override |
|
|
|
public AirWeatherVO getWeather(Integer airportId) throws ServiceException { |
|
|
|
log.info("获取天气信息"); |
|
|
|
log.info("获取天气信息11111"); |
|
|
|
log.info("获取天气信息, tenantId={}", ShiroUtils.getTenantId()); |
|
|
|
log.info("获取天气信息22222"); |
|
|
|
Tenant tenant = tenantMapper.selectById(ShiroUtils.getTenantId()); |
|
|
|
log.info("获取天气信息, tenant={}", tenant); |
|
|
|
log.info("获取天气信息, airportUrl={}", tenant.getAirportUrl()); |
|
|
@@ -252,7 +254,7 @@ public class ThInspectionServiceImpl extends BaseServiceImpl<ThInspectionMapper, |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取天气信息异常,url={}", url); |
|
|
|
log.info("获取天气信息异常,param={}", param); |
|
|
|
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "获取天气信息失败,请重试"); |
|
|
|
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "获取天气信息异常,请重试"); |
|
|
|
} |
|
|
|
} |
|
|
|
|