feat: 增加 信任设备码错误码

This commit is contained in:
2025-02-05 22:16:54 +08:00
parent 4cd6420599
commit c0cd592086

View File

@@ -284,7 +284,7 @@ public class SessionService {
trustDevice = trustDeviceService.getByCode(dto.getTrustDeviceCode());
if (trustDevice.isEmpty()) {
throw new BizException("信任设备码错误");
throw new BizException("trustDeviceNotExist", "信任设备码错误");
}
user = trustDevice.get().getUser();