| | |
| | | package com.yeshi.fanli.service.inter.push;
|
| | |
|
| | | import com.yeshi.fanli.entity.push.DeviceActive;
|
| | |
|
| | | public interface DeviceActiveService {
|
| | |
|
| | | /**
|
| | | * 添加用户活跃记录
|
| | | * |
| | | * @param deviceActive
|
| | | */
|
| | | public void addDeviceActive(DeviceActive deviceActive);
|
| | |
|
| | | /**
|
| | | * |
| | | * @param device 设备号
|
| | | * @param platform 平台类型
|
| | | * @return
|
| | | */
|
| | | public DeviceActive getDeviceByDeviceAndPlatform(String device, String deviceToken, String platform);
|
| | | |
| | | }
|
| | | package com.yeshi.fanli.service.inter.push; |
| | | |
| | | import com.yeshi.fanli.entity.push.DeviceActive; |
| | | |
| | | public interface DeviceActiveService { |
| | | |
| | | /** |
| | | * 添加用户活跃记录 |
| | | * |
| | | * @param deviceActive |
| | | */ |
| | | public void addDeviceActive(DeviceActive deviceActive); |
| | | |
| | | /** |
| | | * |
| | | * @param device |
| | | * 设备号 |
| | | * @param platform |
| | | * 平台类型 |
| | | * @return |
| | | */ |
| | | public DeviceActive getDeviceByDeviceAndPlatform(String device, String deviceToken, String platform); |
| | | |
| | | /** |
| | | * 获取设备的注册时间 |
| | | * |
| | | * @param device |
| | | * @return |
| | | */ |
| | | public DeviceActive getFirstActiveInfo(String device); |
| | | |
| | | /** |
| | | * 根据IMEI查询 |
| | | * @param imei |
| | | * @return |
| | | */ |
| | | public DeviceActive getFirstActiveInfoByImei(String imei); |
| | | |
| | | } |