update 平台配置页面

This commit is contained in:
2024-04-29 17:24:16 +08:00
parent e5b3ea7989
commit a41749a127
10 changed files with 222 additions and 29 deletions

View File

@@ -433,9 +433,9 @@ public class NeiMengGuPlatformServiceImpl implements ThirdPartyPlatformService {
String urlAddress = secretInfoVO.getTheirUrlPrefix();
String url = urlAddress + "supervise_notification_station_status";
JSONObject json = new JSONObject();
json.put("ConnectorStatusInfo", info);
String jsonString = JSON.toJSONString(json);
// JSONObject json = new JSONObject();
// json.put("ConnectorStatusInfo", info);
String jsonString = JSON.toJSONString(info);
// 获取令牌
String token = getToken(urlAddress, operatorId, operatorSecret, dataSecretIv, signSecret, dataSecret);
String result = HttpRequestUtil.sendPost(token, jsonString, url, dataSecret, dataSecretIv, operatorId, signSecret);