This commit is contained in:
fanpeng 2025-06-20 11:23:37 +08:00
parent 0756942f86
commit af68801d1b
2 changed files with 6 additions and 6 deletions

View File

@ -280,7 +280,7 @@
runSendService(
`${deviceInfo.value.productId}/${deviceInfo.value.deviceName}`,
'channel=0',
true
false
)
handlePlaySuccess()
} else {
@ -491,7 +491,7 @@
plus.io.resolveLocalFileSystemURL(filePath, entry => {
entry.file(
file => {
console.log(11111, file)
console.log('文件内容', file)
if (file.size === 0) return
const fileReader = new plus.io.FileReader()

View File

@ -83,8 +83,8 @@ export const runSendService = async function (
crypto: boolean
): Promise<Result> {
try {
await XP2P.runSendService(id, cmd, crypto)
console.log('开始发送服务')
const result = await XP2P.runSendService(id, cmd, crypto)
console.log('开始发送服务', result)
return {
code: 0,
data: {},
@ -101,8 +101,8 @@ export const runSendService = async function (
export const stopSendService = async function (id: string): Promise<Result> {
try {
await XP2P.stopSendService(id, null)
console.log('停止发送服务')
const result = await XP2P.stopSendService(id, null)
console.log('停止发送服务', result)
return {
code: 0,
data: {},