update 优化推送错误

This commit is contained in:
gallonyin
2023-08-24 23:40:05 +08:00
parent 4e45e12ea0
commit e5f313f9f7

View File

@@ -590,6 +590,7 @@ object WeworkOperationImpl {
if (IWWAPIUtil.sendMicroProgram(fileUrl, originalContent, objectName, receivedContent)) { if (IWWAPIUtil.sendMicroProgram(fileUrl, originalContent, objectName, receivedContent)) {
if (relaySelectTarget(titleList, extraText)) { if (relaySelectTarget(titleList, extraText)) {
uploadCommandResult(message, ExecCallbackBean.SUCCESS, "", startTime, titleList, listOf()) uploadCommandResult(message, ExecCallbackBean.SUCCESS, "", startTime, titleList, listOf())
goHome()
return true return true
} else { } else {
LogUtils.e("转发失败") LogUtils.e("转发失败")
@@ -865,6 +866,7 @@ object WeworkOperationImpl {
if (IWWAPIUtil.sendLink(fileUrl, originalContent, objectName, receivedContent)) { if (IWWAPIUtil.sendLink(fileUrl, originalContent, objectName, receivedContent)) {
if (relaySelectTarget(titleList, extraText)) { if (relaySelectTarget(titleList, extraText)) {
uploadCommandResult(message, ExecCallbackBean.SUCCESS, "", startTime, titleList, listOf()) uploadCommandResult(message, ExecCallbackBean.SUCCESS, "", startTime, titleList, listOf())
goHome()
return true return true
} else { } else {
LogUtils.e("转发失败") LogUtils.e("转发失败")