package shop.alien.store.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import shop.alien.entity.store.LifePromotionPackage;
import shop.alien.entity.store.vo.LifePromotionPackageVo;

import java.util.List;
import java.util.Map;

public interface PromotionPackageService extends IService<LifePromotionPackage> {

    IPage<LifePromotionPackageVo> getByExpertId(Long expertId, Integer page, Integer size);

    Map<String, Object> buyPromotion(LifePromotionPackageVo lifePromotionPackageVo);
}
