1.修复新增用户没有pushkey的问题

2.将重置pushkey改为修改pushkey
This commit is contained in:
jiang
2022-07-19 18:13:19 +08:00
parent 7f5a18d6b5
commit fc0ad32f81
6 changed files with 142 additions and 37 deletions

View File

@@ -25,5 +25,5 @@ public interface IUserService {
PageInfo<User> getUsers(int page, int count);
int resetPushKey(int id);
int changePushKey(int id, String pushKey);
}

View File

@@ -75,7 +75,7 @@ public class UserServiceImpl implements IUserService {
}
@Override
public int resetPushKey(int id) {
return userMapper.resetPushKey(id);
public int changePushKey(int id, String pushKey) {
return userMapper.changePushKey(id,pushKey);
}
}