From 931ed0eb0036d3505fd0a4bd7b2f1d54c7d5f903 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期六, 18 九月 2021 15:44:36 +0800 Subject: [PATCH] update [重大改动]重写 防重提交实现 使用分布式锁 解决并发问题 压测通过 --- ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java index f6659c0..3f9db85 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java @@ -69,7 +69,7 @@ * @param postId 宀椾綅ID * @return 缁撴灉 */ - public int countUserPostById(Long postId); + public long countUserPostById(Long postId); /** * 鍒犻櫎宀椾綅淇℃伅 -- Gitblit v1.9.3