Commit f62a075a by zhangdongwei-intern

修改渠道id

parent e06f5ca3
...@@ -580,11 +580,13 @@ public class WeixinClockBizImpl implements WeixinClockBiz { ...@@ -580,11 +580,13 @@ public class WeixinClockBizImpl implements WeixinClockBiz {
WeixinClockDto weixinClockDto = weixinClockGroupClassifyDao.getClockBaseInfoByClassify(classifyQrcodeInfo.getClassifyId()); WeixinClockDto weixinClockDto = weixinClockGroupClassifyDao.getClockBaseInfoByClassify(classifyQrcodeInfo.getClassifyId());
WeixinClockMember clockMember = weixinClockMemberDao.getByWxUserId(wechatGroupId, userWxId); WeixinClockMember clockMember = weixinClockMemberDao.getByWxUserId(wechatGroupId, userWxId);
AppDto appDto = appConsr.getBaseById(weixinClockDto.getClockPrizeId()); AppDto appDto = appConsr.getBaseById(weixinClockDto.getClockPrizeId());
Long channelId = null; Long channelId = classifyQrcodeInfo.getChannelId();
if(null == appDto) { if (null == channelId) {
channelId = adviserConsr.getDefaultChannel(weixinClockDto.getCreateUser()); if (null == appDto) {
}else { channelId = adviserConsr.getDefaultChannel(weixinClockDto.getCreateUser());
channelId = appDto.getChannelId(); } else {
channelId = appDto.getChannelId();
}
} }
Long wechatUserId = readerConsr.getWechatUserId(userWxId, channelId); Long wechatUserId = readerConsr.getWechatUserId(userWxId, channelId);
GroupUserDTO groupUserDTO = wechatGroupConsr.getWxUserInfoByWxUserId(userWxId); GroupUserDTO groupUserDTO = wechatGroupConsr.getWxUserInfoByWxUserId(userWxId);
......
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