Commit 66e556a0 by 徐高华

Merge branch 'feature/xgh/2502朋友圈' into 'developer'

Feature/xgh/2502朋友圈

See merge request !2762
parents b82ccf86 1efa23d5
...@@ -577,7 +577,7 @@ public class MessageApiServiceImpl implements MessageApiService { ...@@ -577,7 +577,7 @@ public class MessageApiServiceImpl implements MessageApiService {
} }
byte[] data = ImageUtil.getImgbyte(headImgUrl); byte[] data = ImageUtil.getImgbyte(headImgUrl);
if(null == data) { if(null == data) {
data = ImageUtil.getBytes(headImgUrl); data = ImageUtil.getImgbyte(headImgUrl);
} }
if (null == data) { if (null == data) {
return headImgUrl; return headImgUrl;
......
...@@ -234,6 +234,9 @@ public class WxEnterpriseInfoController extends WebBaseController { ...@@ -234,6 +234,9 @@ public class WxEnterpriseInfoController extends WebBaseController {
if (null == loginUserDict) { if (null == loginUserDict) {
loginUserDict = managerDictService.getSMSDict("app_login_phone_num", loginStaff.getWxOpenUseId()); loginUserDict = managerDictService.getSMSDict("app_login_phone_num", loginStaff.getWxOpenUseId());
} }
if(null == loginUserDict) {
loginUserDict = managerDictService.getSMSDict("app_login_phone_num", loginStaff.getWxUserId());
}
logger.info("伪登录:{}userId:{},loginUser={}", loginStaff.getPhoneNumber(), loginStaff.getWxOpenUseId(), JSONObject.toJSONString(loginUserDict)); logger.info("伪登录:{}userId:{},loginUser={}", loginStaff.getPhoneNumber(), loginStaff.getWxOpenUseId(), JSONObject.toJSONString(loginUserDict));
if (null != loginUserDict && StringUtils.isNotEmpty(loginUserDict.getDictName()) && loginUserDict.getDictName().split(":").length == 2) { if (null != loginUserDict && StringUtils.isNotEmpty(loginUserDict.getDictName()) && loginUserDict.getDictName().split(":").length == 2) {
String dictValue = loginUserDict.getDictValue(); String dictValue = loginUserDict.getDictValue();
......
Markdown is supported
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