diff --git a/license-header b/license-header new file mode 100644 index 0000000..130cd6d --- /dev/null +++ b/license-header @@ -0,0 +1,5 @@ +/** + * This file is part of the PlayEdu. + * + * (c) 杭州白书科技有限公司 + */ \ No newline at end of file diff --git a/pom.xml b/pom.xml index 12e5f63..6657716 100644 --- a/pom.xml +++ b/pom.xml @@ -156,6 +156,21 @@ + + com.diffplug.spotless + spotless-maven-plugin + 2.36.0 + + + + ${project.basedir}/spotless.xml + + + ${project.basedir}/license-header + + + + diff --git a/spotless.xml b/spotless.xml new file mode 100644 index 0000000..4b2673e --- /dev/null +++ b/spotless.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/xyz/playedu/api/middleware/impl/LockImpl.java b/src/main/java/xyz/playedu/api/middleware/impl/LockImpl.java index 0d1fa4c..f1e23d4 100644 --- a/src/main/java/xyz/playedu/api/middleware/impl/LockImpl.java +++ b/src/main/java/xyz/playedu/api/middleware/impl/LockImpl.java @@ -12,10 +12,6 @@ import xyz.playedu.api.util.RedisDistributedLock; import java.lang.reflect.Method; import java.util.concurrent.TimeUnit; -/** - * @Author 杭州白书科技有限公司 - * @create 2023/3/12 10:45 - */ @Aspect @Component public class LockImpl {