update flashOn
This commit is contained in:
parent
92581b0d81
commit
7d7088853e
|
@ -30,9 +30,9 @@ function insertFlash(qrySql) {
|
|||
const {body} = await got.post('http://app.etiquetaselectronicas.com:9999/led/excuteLed', { // eslint-disable-line
|
||||
json: {
|
||||
storeId: config.storeId,
|
||||
lightColor: 8,
|
||||
lightCololr: 8,
|
||||
lightTime: 30,
|
||||
targetExecution: qrySql.shelvingFk + '/tagWithTicket',
|
||||
targetExecution: qrySql[0].shelvingFk + qrySql[0].level + '/tagWithTicket',
|
||||
lightFrequency: 1
|
||||
},
|
||||
responseType: 'json',
|
||||
|
@ -40,6 +40,7 @@ function insertFlash(qrySql) {
|
|||
'Authorization': key
|
||||
}
|
||||
});
|
||||
console.log(qrySql[0].shelvingFk + qrySql[0].level);
|
||||
console.log(body);
|
||||
})();
|
||||
})();
|
||||
|
|
Reference in New Issue