forked from p4fmevgyr/XYSH
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
336 B
20 lines
336 B
package com.forum.service;
|
|
|
|
|
|
import com.forum.entity.User;
|
|
|
|
import java.util.List;
|
|
|
|
public interface UserService {
|
|
|
|
public User checkUser(String username, String password);
|
|
void addUser(User user);
|
|
List<User> getAllUser();
|
|
int deleteUser(int id);
|
|
|
|
int count();
|
|
|
|
|
|
void update(String password, String username);
|
|
}
|