Commit 14d9faea by 阮思源

Merge branch 'feat-zdw-1001921' into 'master'

修改渠道id

See merge request rays/pcloud-book!238
parents e06f5ca3 f62a075a
......@@ -580,11 +580,13 @@ public class WeixinClockBizImpl implements WeixinClockBiz {
WeixinClockDto weixinClockDto = weixinClockGroupClassifyDao.getClockBaseInfoByClassify(classifyQrcodeInfo.getClassifyId());
WeixinClockMember clockMember = weixinClockMemberDao.getByWxUserId(wechatGroupId, userWxId);
AppDto appDto = appConsr.getBaseById(weixinClockDto.getClockPrizeId());
Long channelId = null;
if(null == appDto) {
channelId = adviserConsr.getDefaultChannel(weixinClockDto.getCreateUser());
}else {
channelId = appDto.getChannelId();
Long channelId = classifyQrcodeInfo.getChannelId();
if (null == channelId) {
if (null == appDto) {
channelId = adviserConsr.getDefaultChannel(weixinClockDto.getCreateUser());
} else {
channelId = appDto.getChannelId();
}
}
Long wechatUserId = readerConsr.getWechatUserId(userWxId, channelId);
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