Compare commits
No commits in common. "c8b12d2a17ea5e7df3e4a4a41ad095a50b8e1ddc" and "173b5cace91df18960609911e35a515a77a5e798" have entirely different histories.
c8b12d2a17
...
173b5cace9
|
|
@ -1,19 +0,0 @@
|
||||||
package com.bonus.canteen.core.device.task;
|
|
||||||
|
|
||||||
import com.bonus.canteen.core.device.android.constant.DeviceMqMessage;
|
|
||||||
import com.xxl.job.core.handler.annotation.XxlJob;
|
|
||||||
import org.slf4j.Logger;
|
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
import java.time.Instant;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class MqttTask {
|
|
||||||
private static final Logger log = LoggerFactory.getLogger(MqttTask.class);
|
|
||||||
|
|
||||||
@XxlJob("timeCalibrationV4")
|
|
||||||
public void timeCalibrationV4() {
|
|
||||||
DeviceMqMessage.timeCalibrationV4(Instant.now().toEpochMilli());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue