|
|
|
@@ -605,9 +605,12 @@ public class WxCouponSendServiceImpl implements WxCouponSendService { |
|
|
|
public void handSel(WxCouponSend wxCouponSend, Object cUserId) { |
|
|
|
WxCUser cu = wxCUserMapper.selectByPrimaryKey(cUserId); |
|
|
|
if (Objects.isNull(cu)) { |
|
|
|
throw new MallinkException(ErrorCode.SYS_PARAMETER_NOT_NULL); |
|
|
|
throw new MallinkException(ErrorCode.USER_IS_EMPTY); |
|
|
|
} |
|
|
|
|
|
|
|
if(StringUtils.isEmpty(cu.getPhone())) { |
|
|
|
throw new MallinkException(ErrorCode.USER_NOT_AUTH_PHONE); |
|
|
|
} |
|
|
|
// 1002 ,11012,2020 ,2000,2022,2021,3005,3999,1050,3000 |
|
|
|
|
|
|
|
WxCUserBasicInfo wxCUserBasicInfo = wxCUserBasicInfoMapper.selectByPrimaryKey(cu.getId()); |
|
|
|
if (Objects.isNull(wxCUserBasicInfo)) { |
|
|
|
|