|
@@ -2142,7 +2142,8 @@ public class UserServiceImpl extends BaseServiceImpl<UserEntity, Long> implement
|
|
Map<String, Object> result = new HashMap<>();
|
|
Map<String, Object> result = new HashMap<>();
|
|
|
|
|
|
UserEntity userEntity = findById(userId);
|
|
UserEntity userEntity = findById(userId);
|
|
- if(userEntity != null && userEntity.getDownloadNumTotal() - userEntity.getDownloadNum() > 0){
|
|
|
|
|
|
+// if(userEntity != null && userEntity.getDownloadNumTotal() - userEntity.getDownloadNum() > 0){
|
|
|
|
+ if(userEntity != null){
|
|
result.put("downloadStatus", 1);
|
|
result.put("downloadStatus", 1);
|
|
|
|
|
|
// 存储redis 开始下载任务
|
|
// 存储redis 开始下载任务
|