|
|
@@ -1,11 +1,17 @@
|
|
|
package com.uas.sso.profile;
|
|
|
|
|
|
+import org.springframework.context.annotation.Profile;
|
|
|
+
|
|
|
import java.lang.annotation.ElementType;
|
|
|
+import java.lang.annotation.Retention;
|
|
|
+import java.lang.annotation.RetentionPolicy;
|
|
|
import java.lang.annotation.Target;
|
|
|
|
|
|
/**
|
|
|
* created by shicr on 2017/11/23
|
|
|
**/
|
|
|
-@Target({ElementType.TYPE,ElementType.METHOD})
|
|
|
+@Target({ ElementType.TYPE, ElementType.METHOD })
|
|
|
+@Retention(RetentionPolicy.RUNTIME)
|
|
|
+@Profile("dev")
|
|
|
public @interface Dev {
|
|
|
}
|