feat(auth): 重构微信登录和手机号绑定功能

- 简化微信登录接口参数,移除昵称和头像参数
- 优化手机号绑定流程,直接通过openId获取用户信息
- 完善用户信息查询逻辑,从数据库获取真实用户数据
- 修复门禁系统异常处理,添加设备离线检查
- 更新会员信息服务,支持用户创建和信息完善
- 调整MyBatis映射文件,优化用户数据插入逻辑
This commit is contained in:
2026-04-18 18:36:56 +08:00
parent 03a556fe76
commit 81120e1794
9 changed files with 132 additions and 66 deletions

View File

@@ -13,6 +13,8 @@ public class MemberInformationDTO implements Serializable {
private String avatar;
private String mobile;
public String getOpenId() {
return openId;
}
@@ -36,4 +38,11 @@ public class MemberInformationDTO implements Serializable {
public void setAvatar(String avatar) {
this.avatar = avatar;
}
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
}