增加消息功能key

This commit is contained in:
menxipeng
2025-08-25 22:11:47 +08:00
parent 145462ea02
commit ddef5f2146
4 changed files with 74 additions and 12 deletions

View File

@@ -33,6 +33,11 @@ public class AliKeyConfig implements InitializingBean {
@Value("${umApp.IOSKey}")
public String umAppIOSKey;
@Value("${umApp.androidSecret}")
public String androidSecret;
@Value("${umApp.IOSSecret}")
public String IOSSecret;
// 终端ID
public static String ACCESS_KEY_ID;
@@ -47,6 +52,10 @@ public class AliKeyConfig implements InitializingBean {
public static String UMApp_AliSecret;
public static String Android_SECRET;
public static String IOS_SECRET;
@Override
public void afterPropertiesSet() {
ACCESS_KEY_ID = this.accessKeyId;
@@ -55,6 +64,8 @@ public class AliKeyConfig implements InitializingBean {
UMApp_IOS_Key = this.umAppIOSKey;
UMApp_AliKey = this.umAppAliKey;
UMApp_AliSecret = this.umAppAliSecret;
Android_SECRET = this.androidSecret;
IOS_SECRET = this.IOSSecret;
}