From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 28 十一月 2020 16:37:05 +0800 Subject: [PATCH] 大淘客搜索接口升级 --- fanli/src/main/java/com/yeshi/fanli/service/inter/push/DeviceTokenOPPOService.java | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/DeviceTokenOPPOService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/DeviceTokenOPPOService.java index ee7cd51..5f264ca 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/DeviceTokenOPPOService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/DeviceTokenOPPOService.java @@ -1,5 +1,8 @@ package com.yeshi.fanli.service.inter.push; +import java.util.Date; +import java.util.List; + import com.yeshi.fanli.entity.push.DeviceTokenOPPO; /** @@ -25,4 +28,36 @@ */ public void unBindUid(Long uid, Long deviceActiveId); + /** + * 缁戝畾璁惧 + * + * @param uid + * @param deviceActiveId + */ + public void bindUid(Long uid, Long deviceActiveId); + + /** + * 璁$畻鎵�鏈夌殑璁惧 + * + * @return + */ + public long countDeviceToken(List<Integer> verisonList, Date minUpdateTime); + + /** + * 璁惧鍒楄〃 + * + * @param page + * @param pageSize + * @return + */ + public List<DeviceTokenOPPO> listDeviceToken(int page, int pageSize, List<Integer> verisonList, Date minUpdateTime); + + /** + * 鏍规嵁鐢ㄦ埛ID妫�绱� + * + * @param uid + * @return + */ + public List<DeviceTokenOPPO> listByUid(Long uid, List<Integer> verisonList); + } -- Gitblit v1.8.0