|
@ -234,7 +234,7 @@ public class YsDeviceService {
|
|
|
}
|
|
|
param.add("deviceSerial",deviceSerial);
|
|
|
param.add("channelNo",channelNo+"");
|
|
|
param.add("expireTime","86400");//过期时间一天
|
|
|
//param.add("expireTime","86400");//过期时间一天
|
|
|
HttpEntity<JSONObject> response = httpClientUtil.iotAssesTokenPostHttp(YsConfig.getDeviceLiveAddress,param,HttpMethod.POST);
|
|
|
JSONObject responseBody = response.getBody();
|
|
|
if (responseBody.getInteger("code")==200){
|