|
@@ -1865,7 +1865,7 @@
|
|
|
let mqttInfo = JSON.parse(localStorage.getItem('mqttinfo'));
|
|
|
let userdeviceId = mqttInfo.connectInfo.clientID;
|
|
|
let ClassrommNum = localStorage.getItem('classNum')
|
|
|
- //let sendMsg = 'devices/' + userdeviceId + '/messages/events/endpoint=coretopiciot&groupNum=' + ClassrommNum + '&deviceId=' + userdeviceId
|
|
|
+ let sendMsg = 'devices/' + userdeviceId + '/messages/events/endpoint=coretopiciot&groupNum=' + ClassrommNum + '&deviceId=' + userdeviceId
|
|
|
let sendMsginfo = directMethod + '$iothub/methods/POST/directMethod/' + userdeviceId
|
|
|
const timestamp = Math.floor(Date.now() / 1000)
|
|
|
if (e === 'BackSeatnum') {
|