微服务配置的修改
This commit is contained in:
-1
@@ -52,7 +52,6 @@ public class DistributedLockHandler extends BaseAspect{
|
||||
@Around("@annotation(jLock)")
|
||||
public Object around(ProceedingJoinPoint joinPoint, JLock jLock) {
|
||||
Object obj = null;
|
||||
log.info("进入RedisLock环绕通知...");
|
||||
RLock rLock = getLock(joinPoint, jLock);
|
||||
boolean res = false;
|
||||
//获取超时时间
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.jero.boot.starter.lock.test;
|
||||
package org.jero.boot.starter.lock.test;
|
||||
|
||||
import com.jero.boot.starter.lock.annotation.JLock;
|
||||
import com.jero.boot.starter.lock.annotation.JRepeat;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.jero.boot.starter.lock.test;
|
||||
package org.jero.boot.starter.lock.test;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.jero.boot.starter.lock.test;
|
||||
package org.jero.boot.starter.lock.test;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.jero.boot.starter.lock.test;
|
||||
package org.jero.boot.starter.lock.test;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
Reference in New Issue
Block a user