fix
This commit is contained in:
parent
0756942f86
commit
af68801d1b
@ -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()
|
||||
|
||||
@ -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: {},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user