feat: 完善渠道商管理
This commit is contained in:
@@ -181,6 +181,7 @@ public class ChannelService : ApplicationService, IChannelService
|
||||
ProviderName = input.ProviderName,
|
||||
IconUrl = input.IconUrl,
|
||||
IsPremium = input.IsPremium,
|
||||
IsEnabled = input.IsEnabled,
|
||||
IsDeleted = false
|
||||
};
|
||||
|
||||
@@ -222,6 +223,7 @@ public class ChannelService : ApplicationService, IChannelService
|
||||
entity.ProviderName = input.ProviderName;
|
||||
entity.IconUrl = input.IconUrl;
|
||||
entity.IsPremium = input.IsPremium;
|
||||
entity.IsEnabled = input.IsEnabled;
|
||||
|
||||
await _modelRepository.UpdateAsync(entity);
|
||||
return entity.Adapt<AiModelDto>();
|
||||
|
||||
Reference in New Issue
Block a user