Commit 3a55dec1 authored by zhuxiao's avatar zhuxiao
Browse files

完善V3查单

parent 32938f9f
...@@ -77,7 +77,7 @@ public class WxpayV3Util { ...@@ -77,7 +77,7 @@ public class WxpayV3Util {
} }
public static JSONObject queryOrderV3(String url, WxPayConfig wxPayConfig) throws WxPayException { public static JSONObject queryOrderV3(String url, WxPayConfig wxPayConfig) throws WxPayException {
String response = getV3(url, wxPayConfig); String response = getV3(PAY_BASE_URL + url, wxPayConfig);
return JSON.parseObject(response); return JSON.parseObject(response);
} }
...@@ -169,7 +169,7 @@ public class WxpayV3Util { ...@@ -169,7 +169,7 @@ public class WxpayV3Util {
throw wxPayException; throw wxPayException;
} }
} catch (Exception e) { } catch (Exception e) {
log.error("\n【异常信息】:{}", url, e.getMessage()); log.error("\n【异常信息】:{},e={}", url, e.getMessage());
throw (e instanceof WxPayException) ? (WxPayException) e : new WxPayException(e.getMessage(), e); throw (e instanceof WxPayException) ? (WxPayException) e : new WxPayException(e.getMessage(), e);
} finally { } finally {
httpGet.releaseConnection(); httpGet.releaseConnection();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment