mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-20 08:26:37 +08:00
21 lines
590 B
C#
21 lines
590 B
C#
|
|
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>
|
||
|
|
Task<ActivationCodeCreateOutput> CreateBatchAsync(ActivationCodeCreateInput input);
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 兑换激活码
|
||
|
|
/// </summary>
|
||
|
|
Task<ActivationCodeRedeemOutput> RedeemAsync(ActivationCodeRedeemInput input);
|
||
|
|
}
|