|
@@ -54,7 +54,7 @@ public class KuaiShouVideoGetServiceImpl extends ServiceImpl<KuaiShouVideoGetMap
|
|
|
@Override
|
|
|
public void getKeyFrame(String token, Long accountId, String videoMd5, String photoId) {
|
|
|
try {
|
|
|
-
|
|
|
+ synchronized (this) {
|
|
|
QueryWrapper<MaterialCutFrame> cutFrameQueryWrapper = new QueryWrapper<>();
|
|
|
cutFrameQueryWrapper.eq("video_signature", videoMd5);
|
|
|
cutFrameQueryWrapper.last("limit 1");
|
|
@@ -108,6 +108,7 @@ public class KuaiShouVideoGetServiceImpl extends ServiceImpl<KuaiShouVideoGetMap
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
+ }
|
|
|
|
|
|
|
|
|
// }
|