|
|
@@ -779,10 +779,12 @@ public class BgServiceImpl implements BgService {
|
|
|
}
|
|
|
fileName = fileName.concat(".jpg");
|
|
|
|
|
|
- saveFile(response.bodyStream(), machiPath.concat("码池/").concat(fileName));
|
|
|
+ String machiImgUrl = "码池/".concat(fileName);
|
|
|
+
|
|
|
+ saveFile(response.bodyStream(), machiPath.concat(machiImgUrl));
|
|
|
long end = System.currentTimeMillis();
|
|
|
|
|
|
- videoInfoPool.setImgUrl(fileName);
|
|
|
+ videoInfoPool.setImgUrl(machiImgUrl);
|
|
|
|
|
|
videoInfoPool.setCreateTime(LocalDateTime.now());
|
|
|
videoInfoPool.setType(1);
|