package com.wecloud.im.service;

import com.wecloud.im.entity.ImClientDevice;
import io.geekidea.springbootplus.framework.common.service.BaseService;

/**
 * @Author wenzhida
 * @Date 2022/3/2 14:58
 * @Description 客户端设备服务接口
 */
public interface ImClientDeviceService extends BaseService<ImClientDevice> {

    /**
     * 清除旧token
     * @param appId
     * @param deviceToken
     * @return
     */
    int removeOldToken(Long appId, String deviceToken);

}
