获取用户 ID
static Future<int?> getUserId() async { final user = await getCurrentUser(); return user?.id; }