using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Services;
using Volo.Abp.Users;
using Yi.Framework.DigitalCollectibles.Domain.Entities;
using Yi.Framework.SqlSugarCore.Abstractions;
namespace Yi.Framework.DigitalCollectibles.Application.Services;
///
/// 邀请码应用服务
///
public class InvitationCodeService : ApplicationService
{
private readonly ISqlSugarRepository _repository;
public InvitationCodeService(ISqlSugarRepository repository)
{
_repository = repository;
}
///
/// 查询当前登录用户的邀请码数据
///
///
[Authorize]
public async Task