package org.jeecg.modules.api.service;

import io.swagger.annotations.ApiOperation;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.api.bean.PageBean;
import org.jeecg.modules.studytourCouponUser.entity.StudytourCouponUser;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

public interface CouponService {

    //优惠券-优惠券列表
    public Result<?> queryCouponList(String token, StudytourCouponUser studytourCouponUser, PageBean pageBean);

    //根据id查看优惠券详情
    public Result<?> queryCouponById(String token, String usercouponId);

    //查看可领取的优惠券
    public Result<?> queryFetchCouponList(String token);

    //领取优惠券
    public Result<?> fetchCoupon(String token, String couponId);

}
