package cn.reghao.tnb.account.app.controller;

import cn.reghao.jutil.web.WebResult;
import cn.reghao.tnb.account.app.redis.RedisKeys;
import cn.reghao.tnb.account.app.redis.ds.RedisOps;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Set;

/**
 * @author reghao
 * @date 2025-08-27 11:17:24
 */
@Tag(name = "帐号管理接口")
@RestController
@RequestMapping("/api/account/admin")
public class AccountAdminController {
    private RedisOps redisOps;

    public AccountAdminController(RedisOps redisOps) {
        this.redisOps = redisOps;
    }

    @Operation(summary = "获取当前在线用户", description = "N")
    @GetMapping("/online_users")
    public String getOnlineUsers() {
        return WebResult.success();
    }
}
