重新调整结构的测试

This commit is contained in:
YunaiV
2020-07-02 19:06:32 +08:00
parent 1e4ef483a7
commit 8121aee460
28 changed files with 660 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
package cn.iocoder.mall.userservice.rpc.user;
import cn.iocoder.common.framework.vo.CommonResult;
import cn.iocoder.mall.userservice.rpc.user.vo.UserVO;
public interface UserRpc {
CommonResult<UserVO> getUser(Integer id);
}

View File

@@ -0,0 +1,29 @@
package cn.iocoder.mall.userservice.rpc.user.vo;
import java.io.Serializable;
/**
* 用户响应
*/
public class UserVO implements Serializable {
/**
* 用户编号
*/
private Integer id;
/**
* 昵称
*/
private String nickname;
/**
* 头像
*/
private String avatar;
/**
* 用户状态
*
* 枚举 {@link CommonStatusEnum}
*/
private Integer status;
}