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;
|
}
|
}
|