diff --git a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Forum/DiscussService.cs b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Forum/DiscussService.cs index fc107c72..b52540ff 100644 --- a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Forum/DiscussService.cs +++ b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Forum/DiscussService.cs @@ -136,8 +136,6 @@ namespace Yi.Framework.Bbs.Application.Services.Forum { DiscussId = output.Id, OldSeeNum = output.SeeNum }); return output; } - - /// /// 查询 /// diff --git a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Domain/Managers/FileManager.cs b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Domain/Managers/FileManager.cs index 4a39c846..d82112d5 100644 --- a/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Domain/Managers/FileManager.cs +++ b/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Domain/Managers/FileManager.cs @@ -99,10 +99,14 @@ public class FileManager : DomainService, IFileManager this.LoggerFactory.CreateLogger().LogInformation(exception, exception.Message); } catch (Exception exception) + { + + this.LoggerFactory.CreateLogger().LogError(exception, exception.Message); + } + finally { //如果失败了,直接复制一份到缩略图上即可 compressImageStream = fileStream; - this.LoggerFactory.CreateLogger().LogError(exception, exception.Message); } diff --git a/Yi.Bbs.Vue3/src/router/index.js b/Yi.Bbs.Vue3/src/router/index.js index e24082f8..de961f29 100644 --- a/Yi.Bbs.Vue3/src/router/index.js +++ b/Yi.Bbs.Vue3/src/router/index.js @@ -136,6 +136,14 @@ const router = createRouter({ title: "数字藏品", }, }, + { + name: "book", + path: "/book", + component: () => import("../views/book/Index.vue"), + meta: { + title: "面试宝典", + }, + }, ], }, { diff --git a/Yi.Bbs.Vue3/src/views/book/Index.vue b/Yi.Bbs.Vue3/src/views/book/Index.vue new file mode 100644 index 00000000..fa9d5447 --- /dev/null +++ b/Yi.Bbs.Vue3/src/views/book/Index.vue @@ -0,0 +1,53 @@ + + + + + + 面试宝典 + + + + + + + + + + + + \ No newline at end of file diff --git a/Yi.Bbs.Vue3/src/views/book/components/BookCard.vue b/Yi.Bbs.Vue3/src/views/book/components/BookCard.vue new file mode 100644 index 00000000..d114e02f --- /dev/null +++ b/Yi.Bbs.Vue3/src/views/book/components/BookCard.vue @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + {{discuss.title}} + + + {{discuss.introduction}} + + + + + + + \ No newline at end of file
面试宝典