소스 검색

诚泰授权异常未返回的问题

dongxin 1 년 전
부모
커밋
997967ecb4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/ydtech/modules/order/components/chengtai/ChengTaiRequestApiComponents.java

+ 1 - 1
src/main/java/com/ydtech/modules/order/components/chengtai/ChengTaiRequestApiComponents.java

@@ -263,7 +263,7 @@ public class ChengTaiRequestApiComponents {
                 try {
                     return this.getToken(parameters,httpHeaders);
                 } catch (Exception e) {
-                    throw new RuntimeException(e);
+                    throw new SystemException(e.toString());
                 } finally {
                     lock.unlock();
                 }