Commit 919313d3 authored by ma's avatar ma

Merge branch 'for-yx' of http://120.77.240.215:9701/tianlai3/ioc_sixiang_license into for-yx

parents f89d785b 5c56d65c
......@@ -33,3 +33,5 @@ build/
.vscode/
*-acc.yml
logs
\ No newline at end of file
......@@ -132,7 +132,7 @@ public class DeviceServiceImpl extends ServiceImpl<DeviceMapper, Device> impleme
queryWrapper.eq(Device::getSnBind, snBind).last("limit 1");
Device device = deviceMapper.selectOne(queryWrapper);
if (device != null) {
return ResResult.success().record(device.getSn());
return ResResult.success().goRecord(device.getSn());
} else {
return new ResResult(405, "未绑定");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment