新闻
## 获取新闻类型
### 请求地址
```
请求地址:域名/xykj/system/
```
### 请求参数
| 参数 | 类型 | 说明 | 是否必填 |
| - | - | - | - |
| active_class | string | NewsEngine_5144wan | 是 |
| active_method | string | GetNewsType | 是 |
### 返回值
``` json
{
"Message":"成功",
"Code":0,
"Total":1,
"IsSuccess":true,
"ClientData":[{
"typeid":"xxx",
"typename":"118",//类型名称
"index":118,//索引
}]
}
```
## 获取新闻
### 请求地址
```
请求地址:域名/xykj/system/
```
### 请求参数
| 参数 | 类型 | 说明 | 是否必填 |
| - | - | - | - |
| active_class | string | NewsEngine_5144wan | 是 |
| active_method | string | GetNewsByPort | 是 |
| type | string | 类型id | 是 |
| typename | string | 类型名称 | 是 |
| page | int | | 是 |
| size | int | | 是 |
| search | string | | 是 |
| newsid | int | 查详情传这个 | 是 |
### 返回值
``` json
{
"Message":"成功",
"Code":0,
"Total":1,
"IsSuccess":true,
"ClientData":[{
"new_id":"f28c410e83599669",
"newid":1000,//查详情传这个
"title":"118",//标题
"siteid":"64d14e9097db9de1",
"website":"118",//网站名
"type":"118",//类型
"typeid":"49f04251ae7d069a",
"author":"118",//作者
"profile":"",
"keyword":"118",//关键字
"index":118,//索引
"description":"118",//详情
"content":"118",//内容
"newspic":"",
"createtime":"2021-02-02 10:45:31",
"news_delete":0,
"static_pc":0,
"istop":1,//是否置顶 1是 0否
"Id":"6018bccb12bf4228b055007e",
"ispop":1//是否弹出 1是 0否
}]
}
```
## 获取弹出新闻
### 请求地址
```
请求地址:域名/xykj/system/
```
### 请求参数
| 参数 | 类型 | 说明 | 是否必填 |
| - | - | - | - |
| active_class | string | NewsEngine_5144wan | 是 |
| active_method | string | GetPopNews | 是 |
### 返回值
``` json
{
"Message":"成功",
"Code":0,
"Total":1,
"IsSuccess":true,
"ClientData":[{
"new_id":"f28c410e83599669",
"newid":1000,//查详情传这个
"title":"118",//标题
"siteid":"64d14e9097db9de1",
"website":"118",//网站名
"type":"118",//类型
"typeid":"49f04251ae7d069a",
"author":"118",//作者
"profile":"",
"keyword":"118",//关键字
"index":118,//索引
"description":"118",//详情
"content":"118",//内容
"newspic":"",
"createtime":"2021-02-02 10:45:31",
"news_delete":0,
"static_pc":0,
"istop":1,//是否置顶 1是 0否
"Id":"6018bccb12bf4228b055007e",
"ispop":1//是否弹出 1是 0否
}]
}
```