using Admin.NET.Plugin.AiDOP.Entity.DataPlatform;
namespace Admin.NET.Plugin.AiDOP.DataPlatform;
/// 数据源配置只读 API(供配置中心 sources 页)。
[ApiDescriptionSettings(Order = 324, Description = "数据中台数据源")]
[Route("api/DataPlatform")]
[AllowAnonymous]
[NonUnify]
public class MdpSourceConfigService : IDynamicApiController, ITransient
{
private readonly ISqlSugarClient _db;
public MdpSourceConfigService(ISqlSugarClient db) => _db = db;
[DisplayName("数据源列表")]
[HttpGet("sources")]
public async Task