|
|
|
@@ -60,7 +60,8 @@ public class WxMsgValidationcodeController extends BaseController { |
|
|
|
userQ.setPhone(phone); |
|
|
|
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) { |
|
|
|
logger.error("B端用户不存在, phone: " + phone); |
|
|
|
return new ResultData(ErrorCode.USER_IS_EMPTY); |
|
|
|
@@ -79,7 +80,7 @@ public class WxMsgValidationcodeController extends BaseController { |
|
|
|
} |
|
|
|
|
|
|
|
WxMsgValidationcode wxMsgValidationcode = new WxMsgValidationcode(); |
|
|
|
wxMsgValidationcode.updateTenantInfo(user); |
|
|
|
wxMsgValidationcode.updateTenantInfo(wxAppinfo); |
|
|
|
wxMsgValidationcode.setPhone(phone); |
|
|
|
wxMsgValidationcode.setType(EnumMsgModel.VALIDATION_CODE.getCode()); |
|
|
|
wxMsgValidationcode.setAppid(appid); |
|
|
|
|