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

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

/**
 * 帮朋友购买记录.
 *
 * @author pengliang on 2023/11/3
 */
public interface OrderPurchaseFriendshipRecordClientApi {

  String API_PREFIX = "/order-purchase-friendship/record/client";


  /**
   * 获取一组指定orderId记录.
   */
  @PostMapping("/listByOrderIds")
  ResultResponse<List<OrderPurchaseFriendshipRecordDTO>> listByOrderIds(
      @RequestBody Set<Long> orderIds);


}
