feat: 本次提交更新内容如下
更新代码内容
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// API响应格式
|
||||
export interface ApiResponse<T> {
|
||||
code: number
|
||||
message: string
|
||||
msg: string
|
||||
data: T | null
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ export interface ServerDevice {
|
||||
// 服务端API返回的设备列表响应
|
||||
export interface ServerDevicesResponse {
|
||||
code: number;
|
||||
message: string;
|
||||
msg: string;
|
||||
data: {
|
||||
list: ServerDevice[];
|
||||
total: number;
|
||||
@@ -106,7 +106,7 @@ export interface UpdateDeviceParams {
|
||||
|
||||
export interface DeviceResponse {
|
||||
code: number
|
||||
message: string
|
||||
msg: string
|
||||
data: {
|
||||
devices: Device[]
|
||||
total: number
|
||||
@@ -115,7 +115,7 @@ export interface DeviceResponse {
|
||||
|
||||
export interface DeviceSelectResponse {
|
||||
code: number
|
||||
message: string
|
||||
msg: string
|
||||
data: {
|
||||
success: boolean
|
||||
deviceIds: string[]
|
||||
|
||||
Reference in New Issue
Block a user