| | |
| | | |
| | | /** |
| | | * Check if the file has been uploaded by the fingerprint. |
| | | * 检查文件是否已通过指纹上传。 |
| | | * @param workspaceId |
| | | * @param file |
| | | * @return |
| | |
| | | |
| | | boolean isExist = mediaService.fastUpload(workspaceId, file.getFingerprint()); |
| | | |
| | | return isExist ? ResponseResult.success() : ResponseResult.error(file.getFingerprint() + "don't exist."); |
| | | return isExist ? ResponseResult.success() : ResponseResult.error(file.getFingerprint() + "不存在"); |
| | | } |
| | | |
| | | /** |
| | |
| | | return ResponseResult.success(new ConcurrentHashMap<>(Map.of(MapKeyConst.TINY_FINGERPRINTS, existingList))); |
| | | } |
| | | |
| | | } |
| | | } |