智慧保安后台管理-外网项目备份
zhongrj
2023-09-17 8853292babb2ad94de4a3207966f1e83b767cd2d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
    }
}