SmartUserDeviceService.java 616 Bytes
package cn.com.glsx.smart.modules.service;

import cn.com.glsx.smart.modules.entity.SmartUserDevice;
import com.alibaba.fastjson.JSONObject;

import java.util.List;

/**
 * <p>Description:
 * <p>Project: chejia-smart
 *
 * @author wbh
 * @date 2021-04-23
 */

public interface SmartUserDeviceService {
    List<SmartUserDevice> getList(SmartUserDevice req);

    SmartUserDevice getByDeviceId(SmartUserDevice req);

    int save(SmartUserDevice req);

    int deleteDevice(SmartUserDevice req);

    String getUserBindKey(String token);

    String sendCommand(JSONObject req);

    String unbind(JSONObject req);
}