修复:钉钉企业内机器人发送通道不能转发bug(”转发中“)

This commit is contained in:
pppscn 2022-08-08 10:41:35 +08:00
parent 8655f1108a
commit dd966fd4b7

View File

@ -119,7 +119,13 @@ object SendUtils {
val settingVo = Gson().fromJson(sender.jsonSetting, GotifySetting::class.java) val settingVo = Gson().fromJson(sender.jsonSetting, GotifySetting::class.java)
GotifyUtils.sendMsg(settingVo, msgInfo, rule, logId) GotifyUtils.sendMsg(settingVo, msgInfo, rule, logId)
} }
else -> {} TYPE_DINGTALK_INNER_ROBOT -> {
val settingVo = Gson().fromJson(sender.jsonSetting, DingtalkInnerRobotSetting::class.java)
DingtalkInnerRobotUtils.sendMsg(settingVo, msgInfo, rule, logId)
}
else -> {
updateLogs(logId, 0, "未知发送通道")
}
} }
} catch (e: Exception) { } catch (e: Exception) {
e.printStackTrace() e.printStackTrace()