From 871b4e5359aaaeaa5b398b1a4ea552a435468dcc Mon Sep 17 00:00:00 2001 From: chenjialing <595168663@qq.com> Date: 星期二, 09 八月 2022 17:26:32 +0800 Subject: [PATCH] 优化--直播结束异步处理截图操作,提高接口响应速度和并发能力 --- src/main/java/com/genersoft/iot/vmp/service/IUserService.java | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/IUserService.java b/src/main/java/com/genersoft/iot/vmp/service/IUserService.java index 112af35..7e2a839 100644 --- a/src/main/java/com/genersoft/iot/vmp/service/IUserService.java +++ b/src/main/java/com/genersoft/iot/vmp/service/IUserService.java @@ -1,6 +1,7 @@ package com.genersoft.iot.vmp.service; import com.genersoft.iot.vmp.storager.dao.dto.User; +import com.github.pagehelper.PageInfo; import java.util.List; @@ -12,11 +13,17 @@ User getUserByUsername(String username); - void addUser(User user); + int addUser(User user); - void deleteUser(int id); + int deleteUser(int id); List<User> getAllUsers(); - void updateUsers(User user); + int updateUsers(User user); + + boolean checkPushAuthority(String callId, String sign); + + PageInfo<User> getUsers(int page, int count); + + int changePushKey(int id, String pushKey); } -- Gitblit v1.8.0