18 lines
473 B
C#
18 lines
473 B
C#
using YD_Event.Application.Coupon.Dtos;
|
|
using YD_Event.Core.Entities;
|
|
|
|
namespace YD_Event.Application.Coupon;
|
|
|
|
/// <summary>
|
|
/// 优惠券服务接口
|
|
/// </summary>
|
|
public interface ICouponService : ITransient
|
|
{
|
|
Task<CouponPageResult> Page(CouponQueryInput input);
|
|
Task Add(AddCouponInput input);
|
|
Task Update(UpdateCouponInput input);
|
|
Task Delete(List<long> ids);
|
|
Task<string> GenerateCode(long id);
|
|
Task<List<EventSelectOutput>> GetEventList();
|
|
}
|