aaden-cli 1.6.71 → 1.6.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/modules/firebase.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -115,7 +115,8 @@ async function deviceEcho(data) {
|
|
|
115
115
|
return
|
|
116
116
|
}
|
|
117
117
|
const {name, adress1, postCode, city, state} = await getNiceRestaurantInfo()
|
|
118
|
-
const waitSecond = parseInt(myDeviceId) % 30 * 1000
|
|
118
|
+
const waitSecond = (parseInt(myDeviceId) % 30) * 1000
|
|
119
|
+
console.log(waitSecond,'等待时间')
|
|
119
120
|
setTimeout(async () => {
|
|
120
121
|
await hillo.jsonPost('https://cloud-v2.aaden.io/deviceLog/create', {
|
|
121
122
|
deviceId: myDeviceId,
|
|
@@ -18500,7 +18501,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.19.2","description":"P
|
|
|
18500
18501
|
/***/ ((module) => {
|
|
18501
18502
|
|
|
18502
18503
|
"use strict";
|
|
18503
|
-
module.exports = {"i8":"1.6.
|
|
18504
|
+
module.exports = {"i8":"1.6.72"};
|
|
18504
18505
|
|
|
18505
18506
|
/***/ })
|
|
18506
18507
|
|
package/modules/firebase.js
CHANGED
|
@@ -19,7 +19,8 @@ export async function deviceEcho(data) {
|
|
|
19
19
|
return
|
|
20
20
|
}
|
|
21
21
|
const {name, adress1, postCode, city, state} = await getNiceRestaurantInfo()
|
|
22
|
-
const waitSecond = parseInt(myDeviceId) % 30 * 1000
|
|
22
|
+
const waitSecond = (parseInt(myDeviceId) % 30) * 1000
|
|
23
|
+
console.log(waitSecond,'等待时间')
|
|
23
24
|
setTimeout(async () => {
|
|
24
25
|
await hillo.jsonPost('https://cloud-v2.aaden.io/deviceLog/create', {
|
|
25
26
|
deviceId: myDeviceId,
|