mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
feat: 增加 信任设备码错误码
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user