fix(健康监测): 禁用移动端手表解绑功能,改为提示联系管理员操作
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
6d6920a2b3
commit
4610ac4737
+7
-5
@@ -436,11 +436,13 @@ public class WatchDeviceServiceImpl extends ServiceImpl<WatchDeviceMapper, Watch
|
|||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public Result unbundleDevice(String watchNo){
|
public Result unbundleDevice(String watchNo){
|
||||||
BindUserDTO dto = new BindUserDTO();
|
// BindUserDTO dto = new BindUserDTO();
|
||||||
dto.setBindUserId(GlobalUtils.getLoginUser().getId());
|
// dto.setBindUserId(GlobalUtils.getLoginUser().getId());
|
||||||
dto.setWatchNo(watchNo);
|
// dto.setWatchNo(watchNo);
|
||||||
dto.setBindDate(new Date());
|
// dto.setBindDate(new Date());
|
||||||
return unbundleUser(dto);
|
// return unbundleUser(dto);
|
||||||
|
// 2026.04.09 说 不能从移动端解绑了
|
||||||
|
return Result.error("请联系管理员解绑");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user