wvp-GB28181-pro/src/main/java/com/genersoft/iot/vmp/service/IUserService.java

30 lines
625 B
Java
Raw Normal View History

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 getUserByUsername(String username);
2021-08-05 12:35:54 +08:00
int addUser(User user);
2021-08-05 12:35:54 +08:00
int deleteUser(int id);
List<User> getAllUsers();
2021-08-05 12:35:54 +08:00
int updateUsers(User user);
boolean checkPushAuthority(String callId, String sign);
PageInfo<User> getUsers(int page, int count);
int changePushKey(int id, String pushKey);
}