mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	完成 OAuth2 的客户端模块
This commit is contained in:
		| @@ -113,8 +113,7 @@ public class JsonUtils { | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     // TODO @Li:和上面的风格保持一致哈。parseTree | ||||
|     public static JsonNode readTree(String text) { | ||||
|     public static JsonNode parseTree(String text) { | ||||
|         try { | ||||
|             return objectMapper.readTree(text); | ||||
|         } catch (IOException e) { | ||||
| @@ -123,7 +122,7 @@ public class JsonUtils { | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     public static JsonNode readTree(byte[] text) { | ||||
|     public static JsonNode parseTree(byte[] text) { | ||||
|         try { | ||||
|             return objectMapper.readTree(text); | ||||
|         } catch (IOException e) { | ||||
| @@ -132,4 +131,8 @@ public class JsonUtils { | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     public static boolean isJson(String text) { | ||||
|         return JSONUtil.isJson(text); | ||||
|     } | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV