package com.red.circle.other.app.inner.service.sys;

import com.red.circle.other.infra.database.mongo.entity.sys.ApiOperationLog;
import com.red.circle.other.infra.database.mongo.entity.sys.query.ApiOperationLogQuery;
import com.red.circle.other.inner.model.cmd.tools.ApiOperationLogCmd;
import com.red.circle.other.inner.model.dto.sys.ApiOperationLogDTO;

import java.util.List;

/**
 * 系统操作日志表.
 *
 * @author pengliang on 2023/9/20
 */
public interface ApiOperationLogClientService {

  /**
   * 添加请求日志.
   */
  void add(ApiOperationLogDTO log);

  /**
   * 获取最近业务请求数据.
   */
  List<ApiOperationLogDTO> list(ApiOperationLogCmd cmd);

}
