提交 6860a92f 编写于 作者: X xubo

1 - 读写分离

上级 b0fb296e
...@@ -5,9 +5,8 @@ import com.oujiong.entity.User; ...@@ -5,9 +5,8 @@ import com.oujiong.entity.User;
import java.util.List; import java.util.List;
/** /**
* @Description: 用户相关接口
*
* @author xub * @author xub
* @Description: 用户相关接口
* @date 2019/8/24 下午6:32 * @date 2019/8/24 下午6:32
*/ */
public interface UserService { public interface UserService {
...@@ -15,12 +14,13 @@ public interface UserService { ...@@ -15,12 +14,13 @@ public interface UserService {
/** /**
* 获取所有用户信息 * 获取所有用户信息
*/ */
List<User> list(); List<User> list();
/** /**
* 单个 保存用户信息 * 单个 保存用户信息
*
* @param user * @param user
*/ */
String saveOne(User user); String saveOne(User user);
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册