Browse Source

账号回归可用

lyhzzz 1 year ago
parent
commit
f12840f2e5

+ 1 - 1
src/main/java/com/fdkankan/manage/service/impl/RtkAccountServiceImpl.java

@@ -62,7 +62,7 @@ public class RtkAccountServiceImpl extends ServiceImpl<IRtkAccountMapper, RtkAcc
         }
         }
         RtkAccount rtkAccount = list.get(0);
         RtkAccount rtkAccount = list.get(0);
         updateAccountStatus(rtkAccount.getId(),2);
         updateAccountStatus(rtkAccount.getId(),2);
-        redisUtil.set(redisKey,JSONObject.toJSONString(rtkAccount));
+        redisUtil.set(redisKey,JSONObject.toJSONString(rtkAccount),60);
         modelThreshold(list.size() -1);
         modelThreshold(list.size() -1);
         return rtkAccount;
         return rtkAccount;
     }
     }