@Vaule注解修改

2024年8月26日10:39:01
This commit is contained in:
xiang2lin 2024-08-26 10:39:06 +08:00
parent db12aa6544
commit cb90fc4530
3 changed files with 8 additions and 8 deletions

View File

@ -66,9 +66,9 @@ public class CbsPluginServiceImpl implements ICbsPluginService {
@Autowired
private RestUtil restUtil;
@Value("${cbs8.elec_path}")
@Value("${cbs8.elec_path:}")
private String elec_path;
@Value("${OA.data_source_code}")
@Value("${OA.data_source_code}:")
private String oa_data_source_code;
/**
* 支付申请

View File

@ -87,21 +87,21 @@ public class CBSUtil {
/**
* 财资管理云公钥(平台公钥)
*/
@Value("${cbs8.cbs_public_key}")
@Value("${cbs8.cbs_public_key:}")
public void setBodyEncryptionKey(String bodyEncryptionKey) {
CBSUtil.bodyEncryptionKey = bodyEncryptionKey;
}
/**
* 企业私钥解密
*/
@Value("${cbs8.ya_private_key}")
@Value("${cbs8.ya_private_key:}")
public void setSignEncryptionPrivateKey(String signEncryptionPrivateKey) {
CBSUtil.signEncryptionPrivateKey = signEncryptionPrivateKey;
}
/**
* 企业私钥解密
*/
@Value("${cbs8.ya_private_key}")
@Value("${cbs8.ya_private_key:}")
public void setBodyDecryptionKey(String bodyDecryptionKey) {
CBSUtil.bodyDecryptionKey = bodyDecryptionKey;
}

View File

@ -24,11 +24,11 @@ import java.util.Map;
public class CbsAccessToken {
private static final Logger logger = LoggerFactory.getLogger(CbsAccessToken.class);
@Value("${cbs8.appId}")
@Value("${cbs8.appId:}")
private String app_id;
@Value("${cbs8.appSecret}")
@Value("${cbs8.appSecret:}")
private String app_secret;
@Value("${cbs8.url}")
@Value("${cbs8.url:}")
private String app_url;
private static String appId;