日志打印时间优化,位置更新接口日志优化

This commit is contained in:
attiya 2025-12-18 16:28:41 +08:00
parent aa67ba22fb
commit d5936457d5
8 changed files with 8 additions and 7 deletions

View File

@ -114,4 +114,4 @@ management:
logging:
pattern:
dateformat: yyyy-MM-dd HH:mm:ss
dateformat: yyyy-MM-dd HH:mm:ss.SSS # 包含毫秒

View File

@ -48,4 +48,4 @@ management:
logging:
pattern:
dateformat: yyyy-MM-dd HH:mm:ss
dateformat: yyyy-MM-dd HH:mm:ss.SSS # 包含毫秒

View File

@ -187,6 +187,7 @@ public class EbikeBikeInfoController {
}else {
bikeInfo.setLocation(new PGpoint(longitude,latitude));
ebikeBikeInfoService.updateById(bikeInfo);
log.info("更新车辆位置成功,SN={}", ecuSn);
}
return JsonResult.success();
}

View File

@ -113,7 +113,7 @@ minio:
logging:
pattern:
dateformat: yyyy-MM-dd HH:mm:ss
dateformat: yyyy-MM-dd HH:mm:ss.SSS # 包含毫秒
geo-coding:
api-url: https://restapi.amap.com/v3/geocode

View File

@ -93,4 +93,4 @@ management:
logging:
pattern:
dateformat: yyyy-MM-dd HH:mm:ss
dateformat: yyyy-MM-dd HH:mm:ss.SSS # 包含毫秒

View File

@ -59,4 +59,4 @@ management:
logging:
pattern:
dateformat: yyyy-MM-dd HH:mm:ss
dateformat: yyyy-MM-dd HH:mm:ss.SSS # 包含毫秒

View File

@ -89,6 +89,6 @@ management:
logging:
pattern:
dateformat: yyyy-MM-dd HH:mm:ss
dateformat: yyyy-MM-dd HH:mm:ss.SSS # 包含毫秒

View File

@ -91,5 +91,5 @@ minio:
logging:
pattern:
dateformat: yyyy-MM-dd HH:mm:ss
dateformat: yyyy-MM-dd HH:mm:ss.SSS # 包含毫秒