绑定状态接口

This commit is contained in:
张松
2025-03-27 15:02:24 +08:00
parent dad1d0beb3
commit bf417a6ba8

View File

@@ -187,7 +187,9 @@ public class AppLoginController {
public Result bindWx(@RequestAttribute("userId") Long userId) {
UserEntity userEntity = userService.queryByUserId(userId);
return Result.success(new HashMap<String, Object>(){{
put("wxBind", StrUtil.isNotBlank(userEntity.getWxOpenId()));
put("data", new HashMap<String, Object>(){{
put("wxBind", StrUtil.isNotBlank(userEntity.getWxOpenId()));
}});
}});
}