1. public interface UserService {
    2. //注册用户方法
    3. void register(User user);
    4. }