许鹏程
2023-08-08 90389e761696fc423cface6fb282514ace92d09f
src/main/java/com/product/file/service/OnlineDocumentEditService.java
@@ -288,7 +288,7 @@
               //正在被编辑
               String existsKey = keys.toArray(new String[]{})[0];
               //这里会抛出正在编辑的异常
               throwBeingEditDocument(existsKey.substring(existsKey.lastIndexOf("-")));
               throwBeingEditDocument(existsKey.substring(existsKey.lastIndexOf("-")+1));
            } else if (remove) {
               RedisUtil.setOutTime(key, getExpirationTime());
               return;