优化日志打印的方式

This commit is contained in:
jishenghua
2024-05-28 00:49:48 +08:00
parent 880c93899c
commit d3f0ff3777
34 changed files with 128 additions and 258 deletions

View File

@@ -55,7 +55,7 @@ public class InOutItemController {
}
res = dataArray.toJSONString();
} catch(Exception e){
e.printStackTrace();
logger.error(e.getMessage(), e);
res = "获取数据失败";
}
return res;