|
|
@@ -0,0 +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 })
|
|
|
+@Retention(RetentionPolicy.RUNTIME)
|
|
|
+@Profile("ptest")
|
|
|
+public @interface Ptest {
|
|
|
+}
|