fix:支付宝支付退款以及消息通知

This commit is contained in:
2026-07-27 18:57:36 +08:00
parent ca41fe080c
commit 9087a3c291
46 changed files with 3772 additions and 141 deletions
+12
View File
@@ -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 {