From eff9f8dce083c7ef911cb8419c03baf3af176c68 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期三, 23 四月 2025 15:49:28 +0800 Subject: [PATCH] 代码初始化 --- server/src/main/java/com/doumee/core/utils/qiyeweixin/QywxUtil.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/server/src/main/java/com/doumee/core/utils/qiyeweixin/QywxUtil.java b/server/src/main/java/com/doumee/core/utils/qiyeweixin/QywxUtil.java index 487fbf5..e965335 100644 --- a/server/src/main/java/com/doumee/core/utils/qiyeweixin/QywxUtil.java +++ b/server/src/main/java/com/doumee/core/utils/qiyeweixin/QywxUtil.java @@ -27,6 +27,7 @@ private static QywxUtil qyUtil; + @Value("${qiwei.serviceurl}") private String qiweiUrl; @@ -87,6 +88,7 @@ String url = interfaceUrl[0].replace("${accesstoken}",token); QywxSendMsgResponse response = sendHttpRequestSingle(url,interfaceUrl[1],JSONObject.toJSONString(param) ,new TypeReference<QywxSendMsgResponse>(){}); + log.error("鎺ㄩ�佹秷鎭粨鏋渰}",JSONObject.toJSONString(response)); if(response.getErrcode()!=null && response.getErrcode() ==0){ return response; } @@ -154,7 +156,7 @@ * @param <T> */ public static <T> QywxBaseResponse<T> sendHttpRequest(String url, String name, String param, TypeReference<QywxBaseResponse<T>> typeReference){ - log.info("銆�"+name+"銆�================寮�濮�===="+ JSONObject.toJSONString(param)); + log.info("銆�"+name+"銆�================寮�濮�===="+url+"\nparam==========================:"+ JSONObject.toJSONString(param)); if ( StringUtils.isNotBlank(url)) { String res = null; try { -- Gitblit v1.9.3