feat: 增加获取登录页面方法
This commit is contained in:
parent
ec83350830
commit
ce74be1f6d
|
@ -10,6 +10,11 @@ namespace BootstrapAdmin.DataAccess.EFCore.Services
|
|||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Dictionary<string, string> GetLogins()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Dictionary<string, string> GetThemes()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
|
|
@ -29,6 +29,12 @@ class DictService : BaseDatabase, IDict
|
|||
return dicts.Where(d => d.Category == "应用程序").Select(d => new KeyValuePair<string, string>(d.Code, d.Name)).ToDictionary(i => i.Key, i => i.Value);
|
||||
}
|
||||
|
||||
public Dictionary<string, string> GetLogins()
|
||||
{
|
||||
var dicts = GetAll();
|
||||
return dicts.Where(d => d.Category == "系统首页").Select(d => new KeyValuePair<string, string>(d.Code, d.Name)).ToDictionary(i => i.Key, i => i.Value);
|
||||
}
|
||||
|
||||
public Dictionary<string, string> GetThemes()
|
||||
{
|
||||
var dicts = GetAll();
|
||||
|
|
|
@ -11,6 +11,12 @@
|
|||
/// <returns></returns>
|
||||
Dictionary<string, string> GetApps();
|
||||
|
||||
/// <summary>
|
||||
/// 获得 配置所有的登录页集合
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Dictionary<string, string> GetLogins();
|
||||
|
||||
/// <summary>
|
||||
/// 获得 配置所有的主题集合
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue