Commit bb701222 authored by luyuan's avatar luyuan

cros

parent 9295b00a
...@@ -2,6 +2,7 @@ package com.java110.core.annotation; ...@@ -2,6 +2,7 @@ package com.java110.core.annotation;
import org.springframework.core.annotation.AliasFor; import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.CrossOrigin;
import java.lang.annotation.*; import java.lang.annotation.*;
...@@ -12,6 +13,7 @@ import java.lang.annotation.*; ...@@ -12,6 +13,7 @@ import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Documented @Documented
@Component @Component
@CrossOrigin
public @interface Java110Cmd { public @interface Java110Cmd {
@AliasFor("name") @AliasFor("name")
String value() default ""; String value() default "";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment