文章公告
## 文章公告 - 类型
### 请求地址
```
/api/index/
```
### 请求参数
|参数|默认值|说明|是否必填|
|-|-|-|-|
|_handle|NewServicePage| |是|
|_method|QueryNewsType| |是|
## 请求响应
``` json
{
"code":1,
"msg":"",
"data":[{
"newstype_index":1,//公告类型索引 值越大位置越靠前
"newstype_title":"系统公告",//公告类型名称
"newstype_id":1000,//编号
}]
}
```
## 文章公告 - 文章列表
### 请求地址
```
/api/index/
```
### 请求参数
|参数|默认值|说明|是否必填|
|-|-|-|-|
|_handle|NewServicePage| |是|
|_method|QueryNewsList| |是|
|token|||是|
|PageIndex|1||否|
|PageSize|20||否|
|typeid||类型id|是|
## 请求响应
``` json
{
"code":1,
"msg":"",
"data":{
"data":[{
"news_id":1000,//id
"news_title":"标题",//文章名称
"news_addtime":"2020-10-2",//发布时间
"news_view_content":"内容预览",//内容预览
"news_content":"内容",//文章内容
}],
"total":999// 条数
}
}
```
## 文章公告 - 文章详情
### 请求地址
```
/api/index/
```
### 请求参数
|参数|默认值|说明|是否必填|
|-|-|-|-|
|_handle|NewServicePage| |是|
|_method|QueryNewsById| |是|
|token|||是|
|news_id| |新闻id|是|
## 请求响应
``` json
{
"code":1,
"msg":"",
"data":{
"news_id":1000,//id
"news_title":"标题",//文章名称
"news_addtime":"2020-10-2",//发布时间
"news_view_content":"内容预览",//内容预览
"news_content":"内容",//文章内容
}
}
```