飞书消息--去掉英文下的横杠
This commit is contained in:
-7
@@ -325,7 +325,6 @@ public class FeishuServiceImpl implements IFeishuService {
|
||||
|
||||
|
||||
|
||||
contentSb.append("{\"tag\": \"hr\"},");
|
||||
contentSb.append("{");
|
||||
contentSb.append("\"actions\": [");
|
||||
contentSb.append("{");
|
||||
@@ -366,8 +365,6 @@ public class FeishuServiceImpl implements IFeishuService {
|
||||
JSONObject.parseObject(JSONArray.parseArray(jsonObject.get("elements").toString()).get(1).toString());
|
||||
JSONObject elementFour =
|
||||
JSONObject.parseObject(JSONArray.parseArray(jsonObject.get("elements").toString()).get(3).toString());
|
||||
JSONObject elementFive =
|
||||
JSONObject.parseObject(JSONArray.parseArray(jsonObject.get("elements").toString()).get(4).toString());
|
||||
|
||||
//处理内容中的双引号(将尖括号替换成双引号)
|
||||
JSONObject elementOne = getJsonObject(jsonObject, content);
|
||||
@@ -378,7 +375,6 @@ public class FeishuServiceImpl implements IFeishuService {
|
||||
jsonArray.add(elementTwo);
|
||||
jsonArray.add(elementThree);
|
||||
jsonArray.add(elementFour);
|
||||
jsonArray.add(elementFive);
|
||||
jsonObject.put("elements",jsonArray);
|
||||
|
||||
// 设置请求参数
|
||||
@@ -439,9 +435,6 @@ public class FeishuServiceImpl implements IFeishuService {
|
||||
contentSb.append("},");
|
||||
};
|
||||
|
||||
|
||||
|
||||
contentSb.append("{\"tag\": \"hr\"},");
|
||||
contentSb.append("{");
|
||||
contentSb.append("\"actions\": [");
|
||||
contentSb.append("{");
|
||||
|
||||
Reference in New Issue
Block a user