// 优惠券相关接口

const api = {
	// 优惠券-我的优惠券列表
	queryCouponList: {
		url: '/coupon/queryCouponList',
		method: 'GET',
		auth: true, 
	},
	// 优惠券-根据id查看优惠券详情
	queryCouponById: {
		url: '/coupon/queryCouponById',
		method: 'GET',
	},
	// 优惠券-查看可领取的优惠券
	queryFetchCouponList: { // todo: check use in where? 
		url: '/coupon/queryFetchCouponList',
		method: 'GET',
		auth: true, 
	},
	// 优惠券-领取优惠券
	fetchCoupon: { // todo: check use in where? 
		url: '/coupon/fetchCoupon',
		method: 'POST',
		auth: true, 
	},
}

export default api