{"id":19990029,"url":"https://github.com/notadd/nt-module-cms","last_synced_at":"2025-05-04T09:34:14.071Z","repository":{"id":94558220,"uuid":"153411773","full_name":"notadd/nt-module-cms","owner":"notadd","description":"The cms module for Notadd application.","archived":true,"fork":false,"pushed_at":"2019-05-11T11:46:08.000Z","size":628,"stargazers_count":12,"open_issues_count":8,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-13T04:52:06.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/notadd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-17T07:11:12.000Z","updated_at":"2023-01-28T18:22:03.000Z","dependencies_parsed_at":"2023-07-28T12:45:28.005Z","dependency_job_id":null,"html_url":"https://github.com/notadd/nt-module-cms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notadd%2Fnt-module-cms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notadd%2Fnt-module-cms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notadd%2Fnt-module-cms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notadd%2Fnt-module-cms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notadd","download_url":"https://codeload.github.com/notadd/nt-module-cms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252316745,"owners_count":21728521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T04:50:54.595Z","updated_at":"2025-05-04T09:34:13.719Z","avatar_url":"https://github.com/notadd.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Notadd CMS模块(Grpc 版本)\n\n## 功能\n\n- [x] 文章管理\n- [x] 文章分类管理\n- [x] 系统消息管理 \n\n## 使用说明\n\n在应用程序中的GRPC客户端文件中注入CMS模块并导入proto文件,使用GRPC通信,再由客户端提供Graphql接口即可调用CMS模块的所有接口。\n\nCMS模块目前所有接口均无限制,如需要权限限制，可以参考用户中心模块的资源定义及权限定义。(https://github.com/notadd/nt-module-user/blob/graphql-api/README_zh.md)\n\n##接口说明\n\n当前版本CMS模块提供了管理功能所需的基本接口，以下介绍常用的接口逻辑\n\n### 文章分类\n\n- `AddClassify` 添加文章分类\n- `DelClassify` 删除指定分类\n- `UpdateClassify` 更新指定分类信息\n- `GetAllClassify` 获得所有分类\n\n\u003e tip:系统已自动创建了一个最顶级分类即总分类,再创建分类时上级分类id传1即可。\n\n### 文章\n\n- `CreateArticle` 添加文章\n- `UpdateArticle` 修改文章\n- `RecycleArticleByIds` 将指定文章放入回收站\n- `DeleteArticleByIds` 将回收站中指定文章永久删除\n- `RecoverArticleByIds` 将回收站中指定文章恢复\n- `AuditArticle` 审核文章\n- `GetAllArticle` 查看所有文章\n- `GetArticleById` 查看指定文章\n\n### 消息通知\n\n- `CreateMessage` 创建消息\n- `DeleteMessageById` 批量删除指定消息\n- `GetAllMessage` 查看所有消息","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotadd%2Fnt-module-cms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotadd%2Fnt-module-cms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotadd%2Fnt-module-cms/lists"}