去除设备注册接口非必要代码
This commit is contained in:
parent
59e73613a7
commit
9921429c26
@ -72,8 +72,6 @@ public class DeviceController {
|
|||||||
|
|
||||||
return mono.defaultIfEmpty(new DeviceInfoEntity()).flatMap(entity -> {
|
return mono.defaultIfEmpty(new DeviceInfoEntity()).flatMap(entity -> {
|
||||||
if(entity.getId() == null){
|
if(entity.getId() == null){
|
||||||
|
|
||||||
entity = new DeviceInfoEntity();
|
|
||||||
entity.setWifiMac(wifiMac);
|
entity.setWifiMac(wifiMac);
|
||||||
entity.setBtMac(btMac);
|
entity.setBtMac(btMac);
|
||||||
entity.setBatchId(1l);
|
entity.setBatchId(1l);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user