This commit is contained in:
2023-01-11 11:00:43 +08:00
commit ff55141a1e
791 changed files with 177427 additions and 0 deletions

4
modules/Cms/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
.idea
vendor
.DS_Store
composer.lock

49
modules/Cms/README.md Normal file
View File

@@ -0,0 +1,49 @@
# CMS
## 安装
```shell
composer require overtrue/laravel-versionable
```
## 接口文档
### 1. 文章
#### 1. 文章列表
> GET: /api/cms/articles
#### 2. 文章详情
> GET: /api/cms/articles/{article_id}
### 2. 单页
#### 1. 单页列表
> GET: /api/cms/pages
#### 2. 单页详情
> GET: /api/cms/pages/{page_id}
### 3. 分类
#### 1. 分类列表
> GET: /api/cms/categories
#### 2. 分类详情
> GET: /api/cms/categories/{category_id}
### 4. 标签
#### 1. 标签列表
> GET: /api/cms/tags
#### 2. 标签详情
> GET: /api/cms/tags/{tag_id}