nayota-show-sdk 1.3.39 → 1.3.40
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/api/devices.js +10 -1
- package/package.json +1 -1
package/api/devices.js
CHANGED
|
@@ -365,6 +365,14 @@ export function updateDepart(data) {
|
|
|
365
365
|
})
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
+
export function updateProp(data) {
|
|
369
|
+
return request({
|
|
370
|
+
url: '/devices/updateProp',
|
|
371
|
+
method: 'post',
|
|
372
|
+
data
|
|
373
|
+
})
|
|
374
|
+
}
|
|
375
|
+
|
|
368
376
|
export default {
|
|
369
377
|
list,
|
|
370
378
|
create,
|
|
@@ -375,5 +383,6 @@ export default {
|
|
|
375
383
|
getOne,
|
|
376
384
|
easyList,
|
|
377
385
|
getPropHistoryData,
|
|
378
|
-
updateDepart
|
|
386
|
+
updateDepart,
|
|
387
|
+
updateProp
|
|
379
388
|
}
|