mirror of
https://github.com/pppscn/SmsForwarder
synced 2025-08-02 17:07:41 +08:00
优化:飞书群机器人
和飞书企业应用
支持自定义消息卡片
模板 #381
This commit is contained in:
parent
8deafd586f
commit
8c897971bf
@ -232,7 +232,6 @@ data class MsgInfo(
|
||||
|
||||
private fun jsonInnerStr(string: String?): String {
|
||||
if (string == null) return "null"
|
||||
if (string == "") return "\"\""
|
||||
|
||||
val jsonStr: String = Gson().toJson(string)
|
||||
return if (jsonStr.length >= 2) jsonStr.substring(1, jsonStr.length - 1) else jsonStr
|
||||
|
Loading…
x
Reference in New Issue
Block a user