package com.red.circle.order.inner.endpoint.api;

import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.order.inner.model.dto.UserTotalRechargeDTO;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 累计用户充值总额.
 *
 * @author pengliang on 2024/1/23
 */
public interface TotalRechargeClientApi {

  String API_PREFIX = "/total/recharge/client";

  /**
   * 获取充值信息.
   */
  @PostMapping("/mapGroup")
  ResultResponse<Map<Long, List<UserTotalRechargeDTO>>> mapGroup(@RequestBody Set<Long> userIds);

}
