提交内容:定时任务

备注:定时推送单据至BIP
提交人:邹江涛
This commit is contained in:
zoujiangtao 2024-12-17 18:30:33 +08:00
parent 268c02c327
commit 41fb2f2b2f
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class ApiService {
logger.info("getBIPToken → 签名: {}", signature); logger.info("getBIPToken → 签名: {}", signature);
// 禁用 SSL 证书验证 // 禁用 SSL 证书验证
// disableSSLCertificateChecking(); disableSSLCertificateChecking();
// 构建URL // 构建URL
String urlString = domainName + API_ENDPOINT + String urlString = domainName + API_ENDPOINT +
"?appKey=" + APP_KEY + "?appKey=" + APP_KEY +
@ -57,6 +57,8 @@ public class ApiService {
"&signature=" + signature; "&signature=" + signature;
// return urlString; // return urlString;
logger.info("getBIPToken → 构建URL: {}", urlString);
String token; String token;
try { try {
// 发送请求 // 发送请求