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

View File

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