Kaynağa Gözat

取消下载次数判断
http://192.168.0.21/index.php?m=task&f=view&taskID=15272

tianboguang 3 yıl önce
ebeveyn
işleme
e20d505f34

+ 2 - 1
4dkankan-user/src/main/java/com/fdkankan/user/service/impl/UserServiceImpl.java

@@ -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 开始下载任务