|
|
|
@@ -181,7 +181,12 @@ public class MallUserInfoServiceImpl implements MallUserInfoService { |
|
|
|
@Override |
|
|
|
public ResultData checkCodeValid(MallUserInfo user, String code) { |
|
|
|
WxMsgValidationcode wxMsgValidationcode = new WxMsgValidationcode(); |
|
|
|
/// wxMsgValidationcode.setTenantId(user.getTenantId()); |
|
|
|
if(StringUtils.isNotBlank(user.getTenantId())) { |
|
|
|
wxMsgValidationcode.setTenantId(user.getTenantId()); |
|
|
|
} else { |
|
|
|
// 如果为空, 启用富茂(标准) |
|
|
|
wxMsgValidationcode.setTenantId("1"); |
|
|
|
} |
|
|
|
wxMsgValidationcode.setPhone(user.getPhone()); |
|
|
|
wxMsgValidationcode.setCode(code); |
|
|
|
List<WxMsgValidationcode> wxmsgvalidationcodelist = wxMsgValidationcodeMapper.findList(wxMsgValidationcode); |
|
|
|
|