Explorar o código

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

tianboguang %!s(int64=3) %!d(string=hai) anos
pai
achega
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<>();
 
         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);
 
             // 存储redis 开始下载任务