提交 6b563d71 作者: han

Merge branch 'develop'

流水线 #8187 已通过 于阶段
in 2 分 5 秒
......@@ -51,7 +51,14 @@ public class HttpsRequestUtil {
if (conn.getResponseCode() == 200) {
rsp = getStreamAsString(conn.getInputStream(), "utf-8");
} else {
rsp = getStreamAsString(conn.getErrorStream(), "utf-8");
// rsp = getStreamAsString(conn.getErrorStream(), "utf-8");
InputStream errorStream = conn.getErrorStream();
if (errorStream != null) {
rsp = getStreamAsString(errorStream, "utf-8");
} else {
// 处理没有错误流的情况,例如返回默认错误信息
rsp = "Invalid Result - invalid business license";
}
}
} catch (Exception e) {
if (null != out) {
......
......@@ -95,6 +95,7 @@ public class AuthServiceImpl implements AuthService {
String unionId;
String openId;
String sessionKey;
log.info("登录信息:{}", wxLoginVO);
log.info("上级推荐人:{}", wxLoginVO.getRcdUserId());
if (wxLoginVO.getFromPort().toString().equals(WxConstant.APP.toString())) {
//调用小程序登录接口,里面包含unionId
......
......@@ -18,4 +18,4 @@ patches:
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms
newTag: dcde35a3fce63eb86a0c2aaf62982a7d2f916be4
newTag: 630bc290b85f8591c38152668845af8ec7d400f1
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论