mirror of
https://github.com/pppscn/SmsForwarder
synced 2025-08-02 17:07:41 +08:00
修复:钉钉企业内机器人
发送通道不能转发bug(”转发中“)
This commit is contained in:
parent
8655f1108a
commit
dd966fd4b7
@ -119,7 +119,13 @@ object SendUtils {
|
||||
val settingVo = Gson().fromJson(sender.jsonSetting, GotifySetting::class.java)
|
||||
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) {
|
||||
e.printStackTrace()
|
||||
|
Loading…
x
Reference in New Issue
Block a user