LAPTOP-KB9HII50\70708 2 years ago
parent
commit
3f8d4ff099

+ 2 - 0
svr/svr-cloud-care/src/main/java/com/yihu/jw/care/service/device/YsDeviceService.java

@ -763,6 +763,8 @@ public class YsDeviceService {
            JSONObject tmp = new JSONObject();
            tmp.put("url",responseBody.getJSONObject("data").getString("url"));
            tmp.put("accessToken",accessToken);
            tmp.put("deviceSerial",deviceSerial);
            tmp.put("channelNo",1);
            result.put(ResponseContant.resultMsg,tmp);
        }else {
            result.put(ResponseContant.resultFlag,ResponseContant.fail);