chengf
2025-10-28 2807cca4b6f2e8af204d798679dcee78e695ee28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.ruoyi.business.properties;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * 业务配置
 *
 * @author Tellsea
 * @date 2022/9/7
 */
@Data
@Component
@ConfigurationProperties(prefix = "business")
public class BusinessProperties {
 
    /**
     * 服务端根路径
     */
    private String serviceUrl;
    /**
     * 微信公众号配置
     */
    private WeiXinMp weiXinMp;
 
    @Data
    public static class WeiXinMp {
 
        /**
         * 公众号授权登录回调地址
         */
        private String callbackUrl;
        /**
         * 回调完成重定向前端地址
         */
        private String loginUrl;
    }
}