|
@@ -5,6 +5,7 @@ import cn.hutool.core.util.StrUtil;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.fdkankan.common.constant.ModelingBuildStatus;
|
|
|
import com.fdkankan.common.util.FileUtils;
|
|
|
+import com.fdkankan.fyun.config.FYunFileConfig;
|
|
|
import com.fdkankan.fyun.face.FYunFileServiceInterface;
|
|
|
import com.fdkankan.model.constants.ConstantFilePath;
|
|
|
import com.fdkankan.model.constants.UploadFilePath;
|
|
@@ -72,13 +73,13 @@ public class RabbitMqListener {
|
|
|
@Value("${4dkk.laserService.host}")
|
|
|
private String laserHost;
|
|
|
|
|
|
- @Value("${oss.prefix.ali}")
|
|
|
- private String prefixAli;
|
|
|
-
|
|
|
@Autowired
|
|
|
private FYunFileServiceInterface fYunFileService;
|
|
|
|
|
|
@Autowired
|
|
|
+ private FYunFileConfig fYunFileConfig;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
private RabbitMqProducer rabbitMqProducer;
|
|
|
|
|
|
@Autowired
|
|
@@ -321,7 +322,7 @@ public class RabbitMqListener {
|
|
|
|
|
|
//如果是重复计算,没有走到计算逻辑,不需要上传日志文件
|
|
|
String buildLogPath = String.format(UploadFilePath.BUILD_LOG_PATH, message.getSceneNum());
|
|
|
- buildLog.setLogDetailPath(prefixAli+ buildLogPath + "console.log");
|
|
|
+ buildLog.setLogDetailPath(fYunFileConfig+ buildLogPath + "console.log");
|
|
|
}
|
|
|
buildLog.setCameraType(Integer.parseInt(buildSceneResult.getCameraType()));
|
|
|
buildLogService.updateById(buildLog);
|