mirror of
https://github.com/pppscn/SmsForwarder
synced 2025-08-03 09:27: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)
|
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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user