修改首页数据接口bug

This commit is contained in:
Guoqs
2024-06-14 15:25:58 +08:00
parent 53d83bf1af
commit f77fcfec80
3 changed files with 7 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ public class indexController extends BaseController {
IndexGeneralSituationVO generalSituation = pileBasicInfoService.getGeneralSituation(dto);
response = new RestApiResponse<>(generalSituation);
}catch (Exception e) {
logger.error("首页数据查询错误:{}", e.getMessage());
logger.error("首页数据查询错误", e);
response = new RestApiResponse<>("00200001", "首页基础数据查询错误");
}
logger.info("首页数据查询 result:{}", JSON.toJSONString(response));