2
0

feat: 补充ap设备信息

This commit is contained in:
caiyuchao
2025-01-07 20:16:40 +08:00
parent 03e6bd043a
commit 38116a13f1
13 changed files with 253 additions and 112 deletions

View File

@@ -51,4 +51,7 @@ public interface RemoteUserService
*/
@PutMapping("/user/recordlogin")
public R<Boolean> recordUserLogin(@RequestBody SysUser sysUser, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
@PostMapping("/device/deviceJob")
public R<Boolean> deviceJob();
}

View File

@@ -42,6 +42,11 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
{
return R.fail("记录用户登录信息失败:" + throwable.getMessage());
}
@Override
public R<Boolean> deviceJob() {
return R.fail("记录设备信息失败:" + throwable.getMessage());
}
};
}
}