|
@@ -27,9 +27,18 @@ export function submit(data) {
|
|
|
}
|
|
|
|
|
|
// 全部产品 和 剔除产品
|
|
|
-export function devList(type) {
|
|
|
+export function devList(query) {
|
|
|
return request({
|
|
|
- url: `/admin/device/same/getIsExistclientTypeList/${type}`,
|
|
|
+ url: `/admin/device/same/getIsExistclientTypeList`,
|
|
|
+ method: 'get',
|
|
|
+ params: query
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 详情
|
|
|
+export function detail(id) {
|
|
|
+ return request({
|
|
|
+ url: `/admin/device/same/view/${id}`,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|