1
0
mirror of synced 2025-12-27 21:48:01 +08:00

🎨 #3461【小程序】spring boot starter 和 solon plugin 增加获取稳定版接口调用凭据的参数

This commit is contained in:
junbaor
2025-01-03 14:23:20 +08:00
committed by GitHub
parent 8fe1e6ea86
commit a29e00f00f
5 changed files with 14 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ public abstract class AbstractWxMaConfigStorageConfiguration {
config.setToken(StringUtils.trimToNull(properties.getToken()));
config.setAesKey(StringUtils.trimToNull(properties.getAesKey()));
config.setMsgDataFormat(StringUtils.trimToNull(properties.getMsgDataFormat()));
config.useStableAccessToken(properties.isUseStableAccessToken());
WxMaProperties.ConfigStorage configStorageProperties = properties.getConfigStorage();
config.setHttpProxyHost(configStorageProperties.getHttpProxyHost());

View File

@@ -45,6 +45,11 @@ public class WxMaProperties {
*/
private String msgDataFormat;
/**
* 是否使用稳定版 Access Token
*/
private boolean useStableAccessToken = false;
/**
* 存储策略
*/