| @@ -60,7 +60,8 @@ public class WxMsgValidationcodeController extends BaseController { | |||||
| userQ.setPhone(phone); | userQ.setPhone(phone); | ||||
| userQ.setStatus(EnumMerchantBUserStatus.VALID.getCode()); | userQ.setStatus(EnumMerchantBUserStatus.VALID.getCode()); | ||||
| List<WxMerchantBUser> orgUserList = wxMerchantBUserService.findList(userQ); | |||||
| List<WxMerchantBUser> orgUserList = wxMerchantBUserService.findAllList(userQ); | |||||
| // List<WxMerchantBUser> orgUserList = wxMerchantBUserService.findList(userQ); | |||||
| if (orgUserList.size() <= 0) { | if (orgUserList.size() <= 0) { | ||||
| logger.error("B端用户不存在, phone: " + phone); | logger.error("B端用户不存在, phone: " + phone); | ||||
| return new ResultData(ErrorCode.USER_IS_EMPTY); | return new ResultData(ErrorCode.USER_IS_EMPTY); | ||||
| @@ -79,7 +80,7 @@ public class WxMsgValidationcodeController extends BaseController { | |||||
| } | } | ||||
| WxMsgValidationcode wxMsgValidationcode = new WxMsgValidationcode(); | WxMsgValidationcode wxMsgValidationcode = new WxMsgValidationcode(); | ||||
| wxMsgValidationcode.updateTenantInfo(user); | |||||
| wxMsgValidationcode.updateTenantInfo(wxAppinfo); | |||||
| wxMsgValidationcode.setPhone(phone); | wxMsgValidationcode.setPhone(phone); | ||||
| wxMsgValidationcode.setType(EnumMsgModel.VALIDATION_CODE.getCode()); | wxMsgValidationcode.setType(EnumMsgModel.VALIDATION_CODE.getCode()); | ||||
| wxMsgValidationcode.setAppid(appid); | wxMsgValidationcode.setAppid(appid); | ||||