feat: 新增配置管理

This commit is contained in:
chenchun
2024-06-27 18:37:49 +08:00
parent 389ce08dad
commit fcea4c63a7
24 changed files with 132 additions and 48 deletions

View File

@@ -6,20 +6,20 @@ using Volo.Abp.Domain.Repositories;
namespace Yi.Framework.SettingManagement.Domain;
public interface ISettingRepository : IBasicRepository<SettingEntity, Guid>
public interface ISettingRepository : IBasicRepository<SettingAggregateRoot, Guid>
{
Task<SettingEntity> FindAsync(
Task<SettingAggregateRoot> FindAsync(
string name,
string providerName,
string providerKey,
CancellationToken cancellationToken = default);
Task<List<SettingEntity>> GetListAsync(
Task<List<SettingAggregateRoot>> GetListAsync(
string providerName,
string providerKey,
CancellationToken cancellationToken = default);
Task<List<SettingEntity>> GetListAsync(
Task<List<SettingAggregateRoot>> GetListAsync(
string[] names,
string providerName,
string providerKey,