“mitao”
2026-04-27 b82daad16c59c9770f6a0492e1a89514d41e6f71
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
40
41
42
43
44
45
46
47
48
49
50
package com.tcm.training.admin.app.share.config;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * APP 邀请分享相关配置。
 */
@Component
@ConfigurationProperties(prefix = "app.share")
public class AppShareProperties {
 
    /**
     * 邀请下载页基础地址,需包含协议与域名。
     */
    private String landingBaseUrl = "https://haizhentong.com/app-download/";
 
    /**
     * 安卓 App 自定义 Scheme 基础地址。
     */
    private String androidAppSchemeUrl = "haizhentong://register";
 
    /**
     * 获取邀请下载页基础地址。
     */
    public String getLandingBaseUrl() {
        return landingBaseUrl;
    }
 
    /**
     * 设置邀请下载页基础地址。
     */
    public void setLandingBaseUrl(String landingBaseUrl) {
        this.landingBaseUrl = landingBaseUrl;
    }
 
    /**
     * 获取安卓 App 自定义 Scheme 基础地址。
     */
    public String getAndroidAppSchemeUrl() {
        return androidAppSchemeUrl;
    }
 
    /**
     * 设置安卓 App 自定义 Scheme 基础地址。
     */
    public void setAndroidAppSchemeUrl(String androidAppSchemeUrl) {
        this.androidAppSchemeUrl = androidAppSchemeUrl;
    }
}