feat:绑定设备和设备详情

This commit is contained in:
李伊帆
2026-10-10 11:11:44 +08:00
parent 179bd3b66c
commit d4b02745e1
64 changed files with 3526 additions and 221 deletions

View File

@@ -0,0 +1,11 @@
import { request } from '@/api/request'
import type { AppDeviceVo, DeviceQueryBody } from './device.types'
/** POST /app/device/list — 查询当前用户的设备列表 */
export function fetchDeviceList(query: DeviceQueryBody = {}) {
return request<AppDeviceVo[]>({
url: '/app/device/list',
method: 'POST',
data: query,
})
}