소스 검색

Merge remote-tracking branch 'origin/master'

master
梁超 1 개월 전
부모
커밋
80522e6ca2
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5
    1
      zhywpt-service-ats/src/main/java/cn/com/taiji/ats/manager/weixin/GetWeChatOpenIdManager.java

+ 5
- 1
zhywpt-service-ats/src/main/java/cn/com/taiji/ats/manager/weixin/GetWeChatOpenIdManager.java 파일 보기

@@ -52,7 +52,11 @@ public class GetWeChatOpenIdManager extends AbstractManager {
res = JsonTools.json2Object(string, AtsGetWeChatOpenIdResponse.class);
} catch (IOException e) {
logger.error("微信登录获取openId异常:{}", e.toString());
throw GlyServiceError.SYSTEM_ERROR.toHandleException(e.getMessage());
throw GlyServiceError.BUSINESS_VALIDATE_ERR.toHandleException(e.getMessage());
}
if (hasText(res.getErrCode())) {
logger.error("微信登录获取openId正常响应异常:code{},msg{}",res.getErrCode(), res.getErrMsg());
throw GlyServiceError.BUSINESS_VALIDATE_ERR.toHandleException(res.getErrMsg());
}
return res;
}

Loading…
취소
저장