2025-12-19 13:50:30 +08:00
|
|
|
using Volo.Abp.Application.Services;
|
|
|
|
|
using Yi.Framework.AiHub.Application.Contracts.Dtos.ActivationCode;
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.AiHub.Application.Contracts.IServices;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 激活码服务接口
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IActivationCodeService : IApplicationService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 批量生成激活码
|
|
|
|
|
/// </summary>
|
2025-12-19 14:16:59 +08:00
|
|
|
Task<ActivationCodeCreateListOutput> CreateBatchAsync(ActivationCodeCreateListInput input);
|
2025-12-19 13:50:30 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 兑换激活码
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<ActivationCodeRedeemOutput> RedeemAsync(ActivationCodeRedeemInput input);
|
|
|
|
|
}
|