feat: 新增任务系统应用服务
This commit is contained in:
@@ -9,15 +9,6 @@ namespace Yi.Framework.Bbs.Application.Services
|
||||
public class SettingService : ApplicationService,
|
||||
ISettingService
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取配置标题
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
/// <exception cref="NotImplementedException"></exception>
|
||||
public Task<string> GetTitleAsync()
|
||||
{
|
||||
return Task.FromResult("你好世界");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取头像文件
|
||||
@@ -25,9 +16,7 @@ namespace Yi.Framework.Bbs.Application.Services
|
||||
/// <returns></returns>
|
||||
public List<string> GetIcon()
|
||||
{
|
||||
|
||||
return Directory.GetFiles("wwwroot/icon").Select(x => "wwwroot/icon/"+ Path.GetFileName(x)).ToList();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user