update 优化推送错误
This commit is contained in:
@@ -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("转发失败")
|
||||||
|
|||||||
Reference in New Issue
Block a user