package com.xy.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "authorize")
public class AuthorizeConfig {

    /**
     * 是否开启本地鉴权 默认=true
     */
    private Boolean isNative;

    /**
     * 权限服务访问地址
     */
    private String url;
}
