优化后台登录界面、完善后台附件管理、编辑器上传视频增加封面 、合并安装时执行mysql脚本

This commit is contained in:
2026-01-06 16:16:45 +08:00
parent 5e2e12e670
commit b5aa465248
29 changed files with 13663 additions and 3442 deletions
@@ -498,7 +498,7 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
using (Stream stream = fileProvider.GetFileInfo(logname).CreateReadStream())
{
byte[] buffer = new byte[stream.Length];
await stream.ReadAsync(buffer, 0, buffer.Length);
await stream.ReadExactlyAsync(buffer);
detail.Append(Encoding.Default.GetString(buffer));
}