package com.ruoyi.xq.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.xq.domain.VipOrder;
import com.ruoyi.xq.dto.admin.vipOrder.VipOrderAdminVo;
import com.ruoyi.xq.dto.app.pay.ConsumeResp;
import com.ruoyi.xq.enums.pay.PlatformTypeEnum;

import java.util.Map;

/**
 * VIP订单Service接口
 *
 * @author 77
 * @date 2024-03-04
 */
public interface VipOrderService extends IService<VipOrder>  {
    VipOrder createVipOrder(Long userId, Long vipPriceSettingId);

    Page<VipOrderAdminVo> pageApp(PageQuery pageQuery, VipOrderAdminVo bo);

    VipOrder getByOrderNo(String orderNo);

    ConsumeResp doSuccess(String orderNo, Map<String, String> params, String appId, PlatformTypeEnum platformTypeEnum);
}
