|
|
|
@@ -6,6 +6,7 @@ import com.iformall.domain.po.msg.BaseMsg; |
|
|
|
import com.iformall.domain.po.msg.FmInsideCLoginMsg; |
|
|
|
import com.iformall.domain.po.msg.FmInsideCouponVerifyMsg; |
|
|
|
import com.iformall.enums.EnumAssignTagsTrigger; |
|
|
|
import com.iformall.enums.EnumCUserFrom; |
|
|
|
import com.iformall.enums.EnumScoreType; |
|
|
|
import com.iformall.exception.MallinkException; |
|
|
|
import com.iformall.service.*; |
|
|
|
@@ -45,7 +46,9 @@ public class FmInsideCLoginMsgServiceImpl implements MsgSendService { |
|
|
|
throw new MallinkException(ErrorCode.USER_IS_EMPTY.getCode(), "用户ID未找到" + cUserId); |
|
|
|
} |
|
|
|
userService.actionAfterLogin(user); |
|
|
|
if(wxCUserFrom.getFromType() != null){ |
|
|
|
if(wxCUserFrom.getFromType() != null |
|
|
|
&& !(wxCUserFrom.getFromType().equals(EnumCUserFrom.FROM_C_USER.getCode()) && wxCUserFrom.getFromId().equals(user.getId())) |
|
|
|
&& !(wxCUserFrom.getFromType().equals(EnumCUserFrom.FROM_C_USER_BASIC_INFO.getCode()) && user.getUserId() != null && wxCUserFrom.getFromId().equals(user.getUserId()))){ |
|
|
|
wxCUserFromService.save(wxCUserFrom); |
|
|
|
} |
|
|
|
} |
|
|
|
|