- demo 项目,增加 redis 库

This commit is contained in:
YunaiV
2019-09-24 19:18:13 +08:00
parent 580b23885d
commit 2c7e1a97df
26 changed files with 300 additions and 21 deletions

View File

@@ -0,0 +1,9 @@
package cn.iocoder.mall.demo.rpc.api;
import cn.iocoder.mall.demo.rpc.vo.DemoUserVO;
public interface DemoUserRpcService {
DemoUserVO get(Integer id);
}

View File

@@ -0,0 +1,23 @@
package cn.iocoder.mall.demo.rpc.vo;
import lombok.Data;
import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
public class DemoUserVO {
/**
* 用户编号
*/
private Integer id;
/**
* 昵称
*/
private String name;
/**
* 性别
*/
private Integer gender;
}