mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-02-05 01:55:29 +08:00
【I57I6O】 修复路由添加时Path无法添加问题
【I59M95】自定义JeecgCloudException异常供微服务,及starter模块使用,解决注解添加之后无法实现重复提交的拦截提示 【I58FJ5】修改quartz默认配置参数,延迟启动解决服务重启多次执行问题 【#3755】优化rabbitmq代码删除setQueueNames方法避免发送延迟 升级springcloud到2021.0.3,解决Spring Cloud Gateway SpEL表达式注入问题 升级积木报表到最新版 【issues/3666】同步钉钉用户到本地,违反数据库唯一主键规则,导致插入失败
This commit is contained in:
@ -11,6 +11,7 @@ import org.aspectj.lang.annotation.Pointcut;
|
||||
import org.aspectj.lang.reflect.MethodSignature;
|
||||
import org.jeecg.boot.starter.lock.annotation.JRepeat;
|
||||
import org.jeecg.boot.starter.lock.client.RedissonLockClient;
|
||||
import org.jeecg.common.exception.JeecgCloudException;
|
||||
import org.springframework.core.LocalVariableTableParameterNameDiscoverer;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@ -63,7 +64,7 @@ public class RepeatSubmitAspect extends BaseAspect{
|
||||
return joinPoint.proceed();
|
||||
} else {
|
||||
// 未获取到锁
|
||||
throw new Exception("请勿重复提交");
|
||||
throw new JeecgCloudException("请勿重复提交");
|
||||
}
|
||||
} finally {
|
||||
// 如果锁还存在,在方法执行完成后,释放锁
|
||||
|
||||
Reference in New Issue
Block a user