上传服务协议代码
This commit is contained in:
parent
47ff3a8468
commit
1b493b6e76
@ -430,26 +430,31 @@ export default defineComponent({
|
||||
.lookup(v1.respName)
|
||||
.decode(message.data.value)
|
||||
messageobj = proto.lookup(v1.respName).toObject(protoobj)
|
||||
// console.log('接收回应到消息 protoobj', protoobj)
|
||||
this.pushlog(
|
||||
'success',
|
||||
`收到回应消息: ${mainType}-${subType}-resp`,
|
||||
messageobj
|
||||
)
|
||||
} else {
|
||||
console.log('接收到消息 pushName', v1.pushName)
|
||||
protoobj = proto
|
||||
.lookup(v1.pushName)
|
||||
.decode(message.data.value)
|
||||
messageobj = proto.lookup(v1.pushName).toObject(protoobj)
|
||||
}
|
||||
if (v1.pushName && v1.pushName == 'NotifyErrorNotifyPush') {
|
||||
this.pushlog(
|
||||
'error',
|
||||
`错误信息通知: ${mainType}-${subType}-resp`,
|
||||
messageobj
|
||||
)
|
||||
} else {
|
||||
this.pushlog(
|
||||
'success',
|
||||
`收到回应消息: ${mainType}-${subType}-resp`,
|
||||
messageobj
|
||||
)
|
||||
|
||||
if (v1.pushName && v1.pushName == 'NotifyErrorNotifyPush') {
|
||||
this.pushlog(
|
||||
'error',
|
||||
`错误信息通知: ${mainType}-${subType}-push`,
|
||||
messageobj
|
||||
)
|
||||
} else {
|
||||
this.pushlog(
|
||||
'success',
|
||||
`收到回应消息: ${mainType}-${subType}-push`,
|
||||
messageobj
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user