mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-20 00:16:37 +08:00
feat: 完成bbs头像功能
This commit is contained in:
@@ -18,5 +18,13 @@ namespace Yi.Framework.Bbs.Application.Services
|
||||
{
|
||||
return Task.FromResult("你好世界");
|
||||
}
|
||||
|
||||
|
||||
public List<string> GetIcon()
|
||||
{
|
||||
|
||||
return Directory.GetFiles("wwwroot/icon").Select(x => "wwwroot/icon/"+ Path.GetFileName(x)).ToList();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user