forked from liuyuanqi/rpc
接口调用服务端的实现类
This commit is contained in:
parent
fea2001c10
commit
6f0c6c7540
|
@ -0,0 +1,11 @@
|
|||
package simple_netty.common.service;
|
||||
|
||||
|
||||
import simple_netty.common.pojo.User;
|
||||
|
||||
public interface UserService {
|
||||
// 客户端通过这个接口调用服务端的实现类
|
||||
User getUserByUserId(Integer id);
|
||||
//新增一个功能
|
||||
Integer insertUserId(User user);
|
||||
}
|
Loading…
Reference in New Issue