package org.springblade.common.config;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* 二维码 配置路径
|
* @author zhongrj
|
* @since 2023-9-9
|
*/
|
@ConfigurationProperties(prefix = "qrcode")
|
@Component
|
public class QrcodeConfig {
|
|
/**
|
* 基础路径(ip+端口)
|
*/
|
public static String baseUrl;
|
|
|
public void setBaseUrl(String baseUrl) {
|
QrcodeConfig.baseUrl = baseUrl;
|
}
|
}
|