| | |
| | | * @param page
|
| | | * @return
|
| | | */
|
| | | List<DeviceTokenHW> getDeviceTokenList(int page, int pageSize);
|
| | |
|
| | | Long getDeviceTokenCount();
|
| | | List<DeviceTokenHW> getDeviceTokenList(int page, int pageSize, List<Integer> versionList);
|
| | |
|
| | | Long countDeviceToken(List<Integer> versionList);
|
| | |
|
| | | /**
|
| | | * 添加数据
|
| | |
| | | * @param uid
|
| | | * @param version
|
| | | */
|
| | | void addDeviceToken(String token, String device, Long uid,int version);
|
| | | void addDeviceToken(String token, String device, Long uid, int version);
|
| | |
|
| | | /**
|
| | | * 获取某个用户的deviceToken
|
| | |
| | | List<DeviceTokenHW> getDeviceTokenByUid(Long uid);
|
| | |
|
| | | /**
|
| | | * 根据版本获取deviceToken
|
| | | * |
| | | * @param uid
|
| | | * @param versionList
|
| | | * @return
|
| | | */
|
| | | List<DeviceTokenHW> getDeviceTokenByUid(Long uid, List<Integer> versionList);
|
| | |
|
| | | /**
|
| | | * 解绑用户token
|
| | | *
|
| | | * @param uid
|