天猫接入绑定设备修改

V0.5.x
xiwa 2022-03-23 10:57:35 +08:00
parent 988442b22b
commit db8c347de7
2 changed files with 1 additions and 1 deletions

BIN
manager/.DS_Store vendored

Binary file not shown.

View File

@ -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("客厅")