|
|
|
|
@ -206,6 +206,24 @@ public class WxUserMemberServiceImpl implements IWxUserMemberService {
|
|
|
|
|
wxUserIntegralLog.setRemarkContent("首次完善用户信息");
|
|
|
|
|
wxUserIntegralLogMapper.insertWxUserIntegralLog(wxUserIntegralLog);
|
|
|
|
|
|
|
|
|
|
// 2.4、用户注册成功发送消息
|
|
|
|
|
WxScriptMessage wxScriptMessage = wxScriptMessageMapper.selectOneByMessageType(MessageTypeEnum.COMPLETE_USER_INFORMATION.getCode());
|
|
|
|
|
if (wxScriptMessage != null) {
|
|
|
|
|
WxUserScriptLog wxUserScriptLog = new WxUserScriptLog();
|
|
|
|
|
BeanUtils.copyProperties(wxScriptMessage, wxUserScriptLog);
|
|
|
|
|
wxUserScriptLog.setId(null);
|
|
|
|
|
wxUserScriptLog.setWxUserId(SecurityUtils.getLoginUser().getWxUserMember().getId());
|
|
|
|
|
wxUserScriptLog.setMessageType(WxUserIntegralMessageTypeEnum.COMPLETE_USER_INFORMATION.getCode());
|
|
|
|
|
wxUserScriptLog.setIsCustom(0);
|
|
|
|
|
wxUserScriptLog.setTitile(wxScriptMessage.getMessageTitle());
|
|
|
|
|
wxUserScriptLog.setContent(wxScriptMessage.getMessageContent());
|
|
|
|
|
wxUserScriptLog.setCreateTime(DateUtils.getNowDate());
|
|
|
|
|
wxUserScriptLog.setCreateBy(null);
|
|
|
|
|
wxUserScriptLog.setUpdateTime(null);
|
|
|
|
|
wxUserScriptLog.setUpdateBy(null);
|
|
|
|
|
wxUserScriptLogMapper.insertWxUserScriptLog(wxUserScriptLog);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// TODO: 首次完善,增加加分 (对接数云未完成)
|
|
|
|
|
}
|
|
|
|
|
BeanUtils.copyProperties(userMemberUpdateVo, wxUserMember);
|
|
|
|
|
|