package com.red.circle.console.app.service.app.tools;

import com.red.circle.console.app.service.app.user.DatavService;
import com.red.circle.framework.core.asserts.ResponseAssert;
import com.red.circle.other.inner.endpoint.live.ActiveVoiceRoomClient;
import com.red.circle.other.inner.endpoint.sys.ApiOperationLogClient;
import com.red.circle.other.inner.endpoint.user.user.UserExpandClient;
import com.red.circle.other.inner.endpoint.user.user.UserOnlineClient;
import com.red.circle.other.inner.model.cmd.tools.ApiOperationLogCmd;
import com.red.circle.other.inner.model.cmd.tools.GoldAnalyzeBackCmd;
import com.red.circle.other.inner.model.cmd.user.OnlineCountQryCmd;
import com.red.circle.other.inner.model.dto.sys.ApiOperationLogDTO;
import com.red.circle.other.inner.model.dto.tools.CurrencyAnalyzeItemDTO;
import com.red.circle.other.inner.model.dto.user.ActiveUserCountryCodeDTO;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 系统工具 服务实现类
 * </p>
 *
 * @author lixiaofei
 * @since 2024/07/11
 */

@Service
@RequiredArgsConstructor
public class SysToolsServiceImpl implements SysToolsService {

  private final ApiOperationLogClient apiOperationLogClient;

  @Override
  public List<CurrencyAnalyzeItemDTO> listGoldAnalyze(GoldAnalyzeBackCmd query) {
    return List.of();
  }

  @Override
  public List<ApiOperationLogDTO> listApiOperationLog(ApiOperationLogCmd query) {
    return apiOperationLogClient.list(query).getBody();
  }
}
