diff --git a/CHANGELOG.md b/CHANGELOG.md index 00dd33e0..51ce29a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +### [v1.3.3](https://gitee.com/koogua/course-tencent-cloud/releases/v1.3.3)(2021-04-30) + +### 更新 + +- 前台增加文章发布功能 +- 增加文章,咨询,评价,评论相关事件站内提醒 +- 增加文章,咨询,评价,评论事件埋点 +- 后台首页增加若干统计项目 +- 后台增加文章审核功能 +- 重构积分历史记录 +- 优化在线统计方式 +- 优化前台界面 + ### [v1.3.2](https://gitee.com/koogua/course-tencent-cloud/releases/v1.3.2)(2021-04-20) ### 更新 diff --git a/app/Caches/ArticleRelatedList.php b/app/Caches/ArticleRelatedList.php index de602a27..78c97f4b 100644 --- a/app/Caches/ArticleRelatedList.php +++ b/app/Caches/ArticleRelatedList.php @@ -40,7 +40,7 @@ class ArticleRelatedList extends Cache $where = [ 'tag_id' => $tagIds[$randKey], - 'published' => 1, + 'published' => ArticleModel::PUBLISH_APPROVED, ]; $pager = $articleRepo->paginate($where); diff --git a/app/Http/Admin/Services/AuthNode.php b/app/Http/Admin/Services/AuthNode.php index 6c955e12..1c7871e3 100644 --- a/app/Http/Admin/Services/AuthNode.php +++ b/app/Http/Admin/Services/AuthNode.php @@ -140,36 +140,36 @@ class AuthNode extends Service ], [ 'id' => '1-4', - 'title' => '话题管理', + 'title' => '专题管理', 'type' => 'menu', 'children' => [ [ 'id' => '1-4-1', - 'title' => '话题列表', + 'title' => '专题列表', 'type' => 'menu', 'route' => 'admin.topic.list', ], [ 'id' => '1-4-5', - 'title' => '搜索话题', + 'title' => '搜索专题', 'type' => 'menu', 'route' => 'admin.topic.search', ], [ 'id' => '1-4-2', - 'title' => '添加话题', + 'title' => '添加专题', 'type' => 'menu', 'route' => 'admin.topic.add', ], [ 'id' => '1-4-3', - 'title' => '编辑话题', + 'title' => '编辑专题', 'type' => 'button', 'route' => 'admin.topic.edit', ], [ 'id' => '1-4-4', - 'title' => '删除话题', + 'title' => '删除专题', 'type' => 'button', 'route' => 'admin.topic.delete', ], diff --git a/app/Http/Admin/Views/topic/add.volt b/app/Http/Admin/Views/topic/add.volt index ccda82ce..e470d1cb 100644 --- a/app/Http/Admin/Views/topic/add.volt +++ b/app/Http/Admin/Views/topic/add.volt @@ -4,7 +4,7 @@