fix:支付宝支付退款以及消息通知
This commit is contained in:
@@ -142,6 +142,18 @@ export const deviceApi = {
|
||||
return res as CommandResult;
|
||||
},
|
||||
|
||||
// 切换直播镜头(如 zoom / wide / normal / ir)
|
||||
liveLensChange: async (params: { deviceSn: string; videoType: 'zoom' | 'wide' | 'normal' | 'ir' }): Promise<CommandResult> => {
|
||||
const res = await request('/api-device/device/command/liveLensChange', { method: 'POST', data: params });
|
||||
return res as CommandResult;
|
||||
},
|
||||
|
||||
// 设置变焦倍数(2~200)
|
||||
cameraFocalLengthSet: async (params: { deviceSn: string; zoomFactor: number }): Promise<CommandResult> => {
|
||||
const res = await request('/api-device/device/command/cameraFocalLengthSet', { method: 'POST', data: params });
|
||||
return res as CommandResult;
|
||||
},
|
||||
|
||||
// 订阅无人机遥测
|
||||
subscribeDroneTelemetry: async (deviceSn: string): Promise<{ success: boolean; message?: string }> => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user