648540858
2024-04-10 b45d71ba6d7474dc21dfa54df37876429bf2ec46
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.genersoft.iot.vmp.service;
 
import com.genersoft.iot.vmp.storager.dao.dto.User;
import com.github.pagehelper.PageInfo;
 
import java.util.List;
 
public interface IUserService {
 
    User getUser(String username, String password);
 
    boolean changePassword(int id, String password);
 
    User getUserById(int id);
 
    User getUserByUsername(String username);
 
    int addUser(User user);
 
    int deleteUser(int id);
 
    List<User> getAllUsers();
 
    int updateUsers(User user);
 
    boolean checkPushAuthority(String callId, String sign);
 
    PageInfo<User> getUsers(int page, int count);
 
    int changePushKey(int id, String pushKey);
}