删除代码
parent
792531f830
commit
4a98520065
@ -1,26 +0,0 @@
|
||||
|
||||
package com.baiye.annotation;
|
||||
|
||||
import com.baiye.feign.FeignClientConfiguration;
|
||||
import org.springframework.cloud.openfeign.FeignClientProperties;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
/**
|
||||
* @author lengleng
|
||||
* @date 2019/03/08
|
||||
* <p>
|
||||
* 资源服务注解
|
||||
*/
|
||||
@Documented
|
||||
@Inherited
|
||||
@org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@EnableGlobalMethodSecurity(prePostEnabled = true)
|
||||
@Import(FeignClientConfiguration.class)
|
||||
public @interface EnableResourceServer {
|
||||
|
||||
}
|
Loading…
Reference in New Issue