🩹 code-review 修订:改号同步日志手机号脱敏、统一 feign 契约注释
This commit is contained in:
@@ -89,7 +89,7 @@ public class MpLoginSupport {
|
||||
// ③ 身份含 driver 才建档;纯 admin 不建
|
||||
String loginNotice = ensureProfile(account, phone, tenantId);
|
||||
// ④ 微信登录把 openid 覆盖写为本次值留痕;失败只 WARN
|
||||
bindOpenid(account, openid);
|
||||
bindOpenId(account, openid);
|
||||
MpUserInfo userInfo = loadUserInfo(account);
|
||||
attachNotice(userInfo, loginNotice);
|
||||
return TokenUtil.convertMpUser(userInfo);
|
||||
@@ -187,7 +187,7 @@ public class MpLoginSupport {
|
||||
/**
|
||||
* ④ 微信登录把 openid 覆盖写为本次值:「该账号最近一次登录用的微信」,不参与识别;失败只 WARN
|
||||
*/
|
||||
private void bindOpenid(MpUser account, String openid) {
|
||||
private void bindOpenId(MpUser account, String openid) {
|
||||
if (account == null || StringUtil.isBlank(openid)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user