mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
Merge branch 'dev' of http://192.168.2.2:8099/jsowell/jsowell-charger-web into dev
This commit is contained in:
@@ -309,9 +309,7 @@ public class QingHaiPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
.status(Integer.parseInt(status))
|
||||
.build();
|
||||
// 调用平台接口
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("ConnectorStatusInfo", info);
|
||||
String jsonString = JSON.toJSONString(json);
|
||||
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);
|
||||
@@ -652,9 +650,7 @@ public class QingHaiPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
return null;
|
||||
}
|
||||
// 封装参数
|
||||
JSONObject jsonObject = new JSONObject();
|
||||
jsonObject.put("ChargeOrderInfo", chargeOrderInfo);
|
||||
String jsonString = JSON.toJSONString(jsonObject);
|
||||
String jsonString = JSON.toJSONString(chargeOrderInfo);
|
||||
// 发送请求
|
||||
String result = HttpRequestUtil.sendPost(token, jsonString, url, dataSecret, dataSecretIv, operatorId, signSecret);
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user