|
|
@@ -111,7 +111,7 @@ func (r *MQTTReporter) uploadPhotoToImagServers(imgFile string, isBackfill /*
|
|
|
} else if !strings.HasPrefix(filepath.Base(imgFile), "history-") { /////// 需要补录, 按协议规定, 重命名文件
|
|
|
newName := filepath.Join(baseapp.IMG_DIR, "history-"+filepath.Base(imgFile))
|
|
|
if err := os.Rename(imgFile, newName); err != nil {
|
|
|
- baseapp.Logger.Errorf("[%s] 本地照片文件重命名失败, 无法标记补录: %s -> %s, 错误: %v!!",
|
|
|
+ baseapp.Logger.Errorf("[%s] 本地照片文件重命名失败, 无法标记为补录照片: %s -> %s, 错误: %v!!",
|
|
|
MODULE_NAME, imgFile, newName, err)
|
|
|
}
|
|
|
}
|