parent
902d6933c3
commit
eb74a51dbe
|
@ -87,21 +87,21 @@ public class CBSUtil {
|
||||||
/**
|
/**
|
||||||
* 财资管理云公钥(平台公钥)
|
* 财资管理云公钥(平台公钥)
|
||||||
*/
|
*/
|
||||||
@Value("${cbs8.cbs_public_key}")
|
@Value("${cbs8.cbs_public_key:}")
|
||||||
public void setBodyEncryptionKey(String bodyEncryptionKey) {
|
public void setBodyEncryptionKey(String bodyEncryptionKey) {
|
||||||
CBSUtil.bodyEncryptionKey = bodyEncryptionKey;
|
CBSUtil.bodyEncryptionKey = bodyEncryptionKey;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 企业私钥(解密)
|
* 企业私钥(解密)
|
||||||
*/
|
*/
|
||||||
@Value("${cbs8.ya_private_key}")
|
@Value("${cbs8.ya_private_key:}")
|
||||||
public void setSignEncryptionPrivateKey(String signEncryptionPrivateKey) {
|
public void setSignEncryptionPrivateKey(String signEncryptionPrivateKey) {
|
||||||
CBSUtil.signEncryptionPrivateKey = signEncryptionPrivateKey;
|
CBSUtil.signEncryptionPrivateKey = signEncryptionPrivateKey;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 企业私钥(解密)
|
* 企业私钥(解密)
|
||||||
*/
|
*/
|
||||||
@Value("${cbs8.ya_private_key}")
|
@Value("${cbs8.ya_private_key:}")
|
||||||
public void setBodyDecryptionKey(String bodyDecryptionKey) {
|
public void setBodyDecryptionKey(String bodyDecryptionKey) {
|
||||||
CBSUtil.bodyDecryptionKey = bodyDecryptionKey;
|
CBSUtil.bodyDecryptionKey = bodyDecryptionKey;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,11 +24,11 @@ import java.util.Map;
|
||||||
public class CbsAccessToken {
|
public class CbsAccessToken {
|
||||||
|
|
||||||
private static final Logger logger = LoggerFactory.getLogger(CbsAccessToken.class);
|
private static final Logger logger = LoggerFactory.getLogger(CbsAccessToken.class);
|
||||||
@Value("${cbs8.appId}")
|
@Value("${cbs8.appId:}")
|
||||||
private String app_id;
|
private String app_id;
|
||||||
@Value("${cbs8.appSecret}")
|
@Value("${cbs8.appSecret:}")
|
||||||
private String app_secret;
|
private String app_secret;
|
||||||
@Value("${cbs8.url}")
|
@Value("${cbs8.url:}")
|
||||||
private String app_url;
|
private String app_url;
|
||||||
|
|
||||||
private static String appId;
|
private static String appId;
|
||||||
|
|
Loading…
Reference in New Issue