jiangping
2023-10-12 7a9f4891bfe7ffff37f3578ff564ee5e24e8232d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.doumee.service.business.impl;
 
import com.doumee.core.constants.Constants;
import com.doumee.core.mqtt.service.MqttToolService;
import com.doumee.dao.business.model.Locks;
import com.doumee.service.business.DeviceService;
import com.doumee.service.business.DeviceSubcribeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import javax.annotation.PostConstruct;
 
/**
 *  与硬件对接服务
 * @author 江蹄蹄
 * @date 2023/10/09 18:06
 */
@Service
public class DeviceSubscribeServiceImpl implements DeviceSubcribeService {
 
    @Override
    public void listener(String param,String topic) {
        System.out.println("mqtt消息订阅==================="+param);
    }
}