Commit c3c0f2ac authored by 李健华's avatar 李健华

修改因用户登陆产的修改用户注册渠道问题

parent 6b8060c2
......@@ -16,6 +16,7 @@ import cn.quantgroup.xyqb.util.TenantUtil;
import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Caching;
......@@ -152,8 +153,10 @@ public class SessionServiceImpl implements ISessionService {
* 部分免密渠道登录统计,用户中心不需识别,由统计平台来过滤
* 贷款导航(84660);壹账通H5(159384)
*/
user.setRegisteredFrom(properties.getCreatedFrom());
UserStatistics statistics = new UserStatistics(user, null, properties.getAction(), properties.getChannelId());
User userRereset = new User();
BeanUtils.copyProperties(user, userRereset);
userRereset.setRegisteredFrom(properties.getCreatedFrom());
UserStatistics statistics = new UserStatistics(userRereset, null, properties.getAction(), properties.getChannelId());
// 推送老的登陆统计信息
MqUtils.sendLoanVest(statistics);
return sessionStruct;
......
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