优化:`飞书群机器人`和`飞书企业应用`支持自定义`消息卡片`模板 #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…
Reference in New Issue