package cn.freemud.service;

import cn.freemud.base.entity.BaseResponse;
import cn.freemud.entities.dto.delivery.QueryDeliveryTemplateRequest;
import cn.freemud.entities.vo.CreateSpellGroupOrderReq;

/**
 * @author wanghanghang
 * @title: SpellGroupOrderService
 * @projectName order-group
 * @description: 拼团service
 * @date 2021/4/15下午9:01
 */
public interface SpellGroupOrderService {

    /**
     * 创建拼团订单
     *
     * @param createSpellGroupOrderReq
     * @return
     */
    BaseResponse createSpellGroupOrder(CreateSpellGroupOrderReq createSpellGroupOrderReq);

    /**
     * 查询商城运费
     *
     * @param request
     * @return
     */
    BaseResponse queryDeliveryAmount(QueryDeliveryTemplateRequest request);

}
