update @Dev
parent
4983d8d821
commit
33ba845ddc
@ -1,9 +1,12 @@
|
||||
package com.ruoyi.common.annotation;
|
||||
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
@Target(ElementType.METHOD)
|
||||
@Target({ElementType.METHOD, ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Inherited
|
||||
@ConditionalOnProperty(prefix = "ruoyi", name = "dev", havingValue = "true")
|
||||
public @interface Dev {
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue