【代码评审修复】 Http 触发器返回值处理修改

This commit is contained in:
jason
2025-01-26 15:36:14 +08:00
parent f8d6f1e2c4
commit 44486afd95
2 changed files with 39 additions and 35 deletions

View File

@@ -199,4 +199,11 @@ public class JsonUtils {
return JSONUtil.isTypeJSON(text);
}
/**
* 判断字符串是否为 JSON 类型的字符串
* @param str 字符串
*/
public static boolean isJsonObject(String str) {
return JSONUtil.isTypeJSONObject(str);
}
}