Showing
1 changed file
with
3 additions
and
3 deletions
| ... | ... | @@ -45,7 +45,7 @@ enum DeviceManagerApi { |
| 45 | 45 | DEVICE_PUBLIC = '/customer/public/device', |
| 46 | 46 | |
| 47 | 47 | DEVICE_PRIVATE = '/customer/device', |
| 48 | - DEVICE_COLLECT = '/device/collect ', //收藏 | |
| 48 | + DEVICE_COLLECT = '/collect/DEVICE_COLLECT', //收藏 | |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | 51 | * @description 通过设备列表获取设备信息 |
| ... | ... | @@ -62,9 +62,9 @@ export const devicePage = (params: DeviceQueryParam) => { |
| 62 | 62 | }); |
| 63 | 63 | }; |
| 64 | 64 | |
| 65 | -export const deviceCollect = (params: Array<any>) => { | |
| 65 | +export const deviceCollect = (params: string[]) => { | |
| 66 | 66 | return defHttp.post({ |
| 67 | - url: `${DeviceManagerApi.DEVICE_COLLECT}`, | |
| 67 | + url: `${DeviceManagerApi.DEVICE_COLLECT}?collectEnum=DEVICE_COLLECT`, | |
| 68 | 68 | params, |
| 69 | 69 | }); |
| 70 | 70 | }; | ... | ... |