绑定状态接口
This commit is contained in:
@@ -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()));
|
||||
}});
|
||||
}});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user