微信登录查询方法修改为 根据appid查询一级运营商merchantid

This commit is contained in:
Lemon
2023-08-04 14:19:45 +08:00
parent 3b2a20026b
commit d4287259a3
6 changed files with 29 additions and 26 deletions

View File

@@ -207,7 +207,7 @@ public class MemberService {
log.error("getOpenIdByCode发生异常", e);
}
// 根据appid查询merchantId
String merchantId = pileMerchantInfoService.getMerchantIdByAppId(APP_ID);
String merchantId = pileMerchantInfoService.getFirstLevelMerchantIdByAppId(APP_ID);
// 查询手机号码是否注册过
return memberRegisterAndLogin(mobileNumber, merchantId, openId);
}