nayota-show-sdk 1.3.7 → 1.3.8
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/product.js +0 -13
- package/package.json +1 -1
package/api/product.js
CHANGED
|
@@ -403,19 +403,6 @@ function deleteMany(ids) {
|
|
|
403
403
|
})
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* 批量删除产品
|
|
409
|
-
* @param {Array} ids - 产品id数组
|
|
410
|
-
* @returns {number} code - 返回码,0表示成功
|
|
411
|
-
*/
|
|
412
|
-
function deleteMany(ids) {
|
|
413
|
-
return requestShow({
|
|
414
|
-
url: '/products',
|
|
415
|
-
method: 'delete',
|
|
416
|
-
data: ids // delete传递主体要包含在data里
|
|
417
|
-
})
|
|
418
|
-
}
|
|
419
406
|
/**
|
|
420
407
|
* 通过Excel导入设备到对应产品
|
|
421
408
|
* @customDesc 该接口通过上传的Excel文件批量导入设备到指定产品
|