Parcourir la source

修改提示信息

wks il y a 2 ans
Parent
commit
6b8099d8c8

+ 3 - 1
src/main/java/com/ydtech/modules/admin/components/UnionPayRequestApiComponent.java

@@ -195,9 +195,11 @@ public class UnionPayRequestApiComponent {
                 LOGGER.error("银联接口解密响应报文:"+respData);
                 return JSONObject.parseObject(respData, UnionPayResponse.class);
             } else {
-                throw new SystemException("银联信息验证异常[" + resp.getString("errCode") + ":" +
+                LOGGER.error("银联信息验证异常[" + resp.getString("errCode") + ":" +
                         resp.getString("errInfo") + "]");
+                throw new SystemException(resp.getString("errInfo"));
             }
+
         } catch (Exception e) {
             LOGGER.error("银联接口调用异常", e);
             throw new RuntimeException("银联接口调用异常:", e);