|
@@ -57,8 +57,8 @@ import java.util.stream.Collectors;
|
|
|
@Service
|
|
|
public class WebGatewayImpl implements WebGateway {
|
|
|
|
|
|
- @Value("${oss.download-url-pre}")
|
|
|
- private String downloadUrlPre;
|
|
|
+ @Value("${oss.ota-download-url-pre}")
|
|
|
+ private String otaDownloadUrlPre;
|
|
|
|
|
|
@Autowired
|
|
|
private DevInfoService devInfoService;
|
|
@@ -669,7 +669,7 @@ public class WebGatewayImpl implements WebGateway {
|
|
|
ossFile.setBusiKey("0"); // 业务主键设为默认值
|
|
|
ossFile.setFileName(originalFilename);
|
|
|
// 存储完整的OSS访问URL
|
|
|
- String fullOssUrl = downloadUrlPre + objectName;
|
|
|
+ String fullOssUrl = otaDownloadUrlPre + objectName;
|
|
|
ossFile.setOssUrl(fullOssUrl);
|
|
|
ossFileService.save(ossFile);
|
|
|
|