mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-08 20:10:16 +08:00
update 苏州市平台
This commit is contained in:
@@ -205,7 +205,9 @@ public class SuZhouPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
String urlAddress = suZhouSecretInfo.getTheirUrlPrefix();
|
String urlAddress = suZhouSecretInfo.getTheirUrlPrefix();
|
||||||
String url = urlAddress + "notification_alarmInfo";
|
String url = urlAddress + "notification_alarmInfo";
|
||||||
|
|
||||||
String jsonString = JSON.toJSONString(alarmInfo);
|
JSONObject jsonObject = new JSONObject();
|
||||||
|
jsonObject.put("AlarmInfos", alarmInfo);
|
||||||
|
String jsonString = JSON.toJSONString(jsonObject);
|
||||||
// 获取令牌
|
// 获取令牌
|
||||||
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, jsonString, url, dataSecret, dataSecretIv, operatorId, signSecret);
|
||||||
|
|||||||
Reference in New Issue
Block a user