Compare commits
	
		
			2 Commits
		
	
	
		
			3618b3ef91
			...
			0ed7e50f38
		
	
	| Author | SHA1 | Date | 
|---|---|---|
|  | 0ed7e50f38 | |
|  | dc9e2d9895 | 
|  | @ -48,7 +48,12 @@ public class BacklogServiceHandle extends AbstractServiceHandler { | ||||||
|             try { |             try { | ||||||
|                 userName = RSAUtil.encrypt(query_one.getString("username"),RSAUtil.getPublicKeyFromString()); |                 userName = RSAUtil.encrypt(query_one.getString("username"),RSAUtil.getPublicKeyFromString()); | ||||||
|             }catch (Exception e){ |             }catch (Exception e){ | ||||||
|                 logger.info("####公钥加密出现异常,请联系运维人员排查!"); |                 try { | ||||||
|  |                     logger.info("####公钥加密出现异常,请联系运维人员排查!\n加密数据:{}\n加密公钥:{}", query_one.getString("username"), | ||||||
|  |                             RSAUtil.getPublicKeyFromString()); | ||||||
|  |                 } catch (Exception ex) { | ||||||
|  |                     logger.info("####RSAUtil.getPublicKeyFromString()错误,错误信息:{}", e); | ||||||
|  |                 } | ||||||
|                 ErrorCode errorCode = new ErrorCode("error_code", "公钥加密出现异常,请联系运维人员排查!"); |                 ErrorCode errorCode = new ErrorCode("error_code", "公钥加密出现异常,请联系运维人员排查!"); | ||||||
|                 throw new KDException(errorCode, e); |                 throw new KDException(errorCode, e); | ||||||
|             } |             } | ||||||
|  |  | ||||||
|  | @ -100,9 +100,11 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin { | ||||||
|             String text = codeEdit.getText(); |             String text = codeEdit.getText(); | ||||||
|             Object obj = JSON.parse(text); |             Object obj = JSON.parse(text); | ||||||
|             if (obj instanceof JSONObject) { |             if (obj instanceof JSONObject) { | ||||||
|  |                 logger.info("解析JSON字符串 → text:{}\nJSON字符串解析为JSONObject", text); | ||||||
|                 JSONObject jsonObject = JSON.parseObject(text); |                 JSONObject jsonObject = JSON.parseObject(text); | ||||||
|                 parseJson(jsonObject, 1, null); |                 parseJson(jsonObject, 1, null); | ||||||
|             } else if (obj instanceof JSONArray) { |             } else if (obj instanceof JSONArray) { | ||||||
|  |                 logger.info("解析JSON字符串 → text:{}\nJSON字符串解析为JSONArray", text); | ||||||
|                 JSONArray jsonArray = JSON.parseArray(text); |                 JSONArray jsonArray = JSON.parseArray(text); | ||||||
|                 parseJson(jsonArray, 1, null); |                 parseJson(jsonArray, 1, null); | ||||||
|             } |             } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue