diff --git a/lib/redkale-plugins.jar b/lib/redkale-plugins.jar
index 7cad5f2..214224d 100644
Binary files a/lib/redkale-plugins.jar and b/lib/redkale-plugins.jar differ
diff --git a/lib/redkale.jar b/lib/redkale.jar
index 05f86f9..a720365 100644
Binary files a/lib/redkale.jar and b/lib/redkale.jar differ
diff --git a/libs/redbbs.jar b/libs/redbbs.jar
index 8e86e30..209413a 100644
Binary files a/libs/redbbs.jar and b/libs/redbbs.jar differ
diff --git a/pom.xml b/pom.xml
index 7dfb05c..80daefe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,8 +13,8 @@
org.apache.maven.plugins
maven-compiler-plugin
- 1.8
- 1.8
+ 10
+ 10
@@ -25,12 +25,12 @@
org.redkale
redkale
- 1.9.5.2
+ 1.9.6
org.redkalex
redkale-plugins
- 1.9.5.2
+ 1.9.6
diff --git a/src/com/lxyer/bbs/base/TaskQueue.java b/src/com/lxyer/bbs/base/TaskQueue.java
index d9f2bcf..f16e2e9 100644
--- a/src/com/lxyer/bbs/base/TaskQueue.java
+++ b/src/com/lxyer/bbs/base/TaskQueue.java
@@ -24,6 +24,7 @@ import org.redkale.source.FilterExpress;
import org.redkale.source.FilterNode;
import org.redkale.source.Flipper;
import org.redkale.util.AnyValue;
+import org.redkale.util.Comment;
import org.redkale.util.Sheet;
import javax.annotation.Resource;
@@ -67,10 +68,12 @@ public class TaskQueue extends BaseService implements Runnable
visLog = database.getCollection("vis_log");
}
+ @RestMapping(ignore = true)
public T take() throws InterruptedException {
return (T) queue.take();
}
+ @RestMapping(ignore = true)
public void put(T t) throws InterruptedException {
queue.put(t);
}
@@ -98,7 +101,7 @@ public class TaskQueue extends BaseService implements Runnable
}
}
- @RestMapping(ignore = true, comment = "帖子阅读数处理")
+ @Comment("帖子阅读数处理")
private void updateViewNumAsync(Map logData) {
CompletableFuture.runAsync(()->{
Bson filter = and(