16 lines
264 B
Java
16 lines
264 B
Java
|
package com.service;
|
||
|
|
||
|
import com.domain.User;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
public interface UserService {
|
||
|
List<User> list();
|
||
|
|
||
|
void save(User user, Long[] roleIds);
|
||
|
|
||
|
void del(Long userId);
|
||
|
|
||
|
User login(String username, String password);
|
||
|
}
|