package com.cyksj.service.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cyksj.model.dto.AliPayParams;
import com.cyksj.model.entity.VipOrderDon;
import com.cyksj.model.request.AlipayOrderDonReq;
import com.cyksj.model.request.VipOrderDonPayReq;

import java.util.Map;

/**
 * 项目名: yhlxj2
 * 文件名: VipOrderDonService
 * 创建者: JavaZou
 * 创建时间:2025/5/13 11:14
 */
public interface VipOrderDonService extends IService<VipOrderDon> {
	VipOrderDon submit(VipOrderDonPayReq payRequest);

	AliPayParams aliPay(AlipayOrderDonReq re) throws Exception;

	void aliPayNotify(Map<String, String> params) throws Exception;

	void orderNotify(VipOrderDon orderDon);

	VipOrderDon renew(VipOrderDonPayReq payRequest);

	void closeOrderDon(long userId, Long orderId);
}
