增加用户修改自己头像和昵称
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package cn.iocoder.mall.user.service.api;
|
||||
|
||||
import cn.iocoder.common.framework.vo.CommonResult;
|
||||
import cn.iocoder.mall.user.service.api.bo.UserBO;
|
||||
import cn.iocoder.mall.user.service.api.bo.UserPageBO;
|
||||
import cn.iocoder.mall.user.service.api.dto.UserPageDTO;
|
||||
import cn.iocoder.mall.user.service.api.dto.UserUpdateDTO;
|
||||
@@ -9,6 +10,8 @@ public interface UserService {
|
||||
|
||||
CommonResult<UserPageBO> getUserPage(UserPageDTO userPageDTO);
|
||||
|
||||
CommonResult<UserBO> getUser(Integer userId);
|
||||
|
||||
/**
|
||||
* 更新用户基本信息
|
||||
*
|
||||
|
||||
@@ -7,14 +7,14 @@ public class OAuth2AuthenticationBO implements Serializable {
|
||||
/**
|
||||
* 用户编号
|
||||
*/
|
||||
private Integer uid;
|
||||
private Integer userId;
|
||||
|
||||
public Integer getUid() {
|
||||
return uid;
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public OAuth2AuthenticationBO setUid(Integer uid) {
|
||||
this.uid = uid;
|
||||
public OAuth2AuthenticationBO setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user