mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 03:39:55 +08:00
update 青海平台Service
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -314,10 +314,11 @@ public class QingHaiPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
.status(Integer.parseInt(status))
|
.status(Integer.parseInt(status))
|
||||||
.build();
|
.build();
|
||||||
// 调用平台接口
|
// 调用平台接口
|
||||||
String jsonString = JSON.toJSONString(info);
|
JSONObject jsonObject = new JSONObject();
|
||||||
|
jsonObject.put("ConnectorStatusInfo", info);
|
||||||
// 获取令牌
|
// 获取令牌
|
||||||
String token = getToken(urlAddress, operatorId, operatorSecret, dataSecretIv, signSecret, dataSecret);
|
String token = getToken(urlAddress, operatorId, operatorSecret, dataSecretIv, signSecret, dataSecret);
|
||||||
String result = HttpRequestUtil.sendPost(token, jsonString, url, dataSecret, dataSecretIv, operatorId, signSecret);
|
String result = HttpRequestUtil.sendPost(token, jsonObject.toJSONString(), url, dataSecret, dataSecretIv, operatorId, signSecret);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user