天猫接入绑定设备修改
parent
988442b22b
commit
db8c347de7
Binary file not shown.
|
@ -51,7 +51,7 @@ public class AligenieDeviceController {
|
|||
DeviceInfo deviceInfo = deviceRepository.findById(device.getDeviceId()).get();
|
||||
AligenieProduct product = aligenieProductRepository.findByProductKey(deviceInfo.getProductKey());
|
||||
aligenieDeviceRepository.save(AligenieDevice.builder()
|
||||
.uid(uid)
|
||||
.uid(user.getId())
|
||||
.deviceId(device.getDeviceId())
|
||||
.productId(product.getProductId())
|
||||
.spaceName("客厅")
|
||||
|
|
Loading…
Reference in New Issue