Appearance
功能概述
后台首页数据展示模块
接口访问
接口地址
index
请求方式 Method
GET
Header - Authorization Type : Bearer Token
| 属性 | 类型 | 长度 | 必填 | 默认值 | 说明 | 访问版本 |
|---|---|---|---|---|---|---|
| token | string | 32 | true | 用户身份标识令牌 | - |
返回值
| 属性 | 类型 | 必填 | 说明 |
|---|---|---|---|
| usersTotal | int | true | 总用户数 |
| membersTotal | int | true | 总会员数 |
| authTotal | int | true | 总认证数 |
| companyTotal | int | true | 总公司数 |
| noExamineVoucherTotal | int | true | 待审核评证数 |
| companyUnauditedTotal | int | true | 未审核的公司数 |
| ongoingActivity | array | true | 进行中的活动列表 |
| recentInfo | array | true | 最近的资讯列表 |
| partyConstitutionList | array | true | 党建活动列表 |
ongoingActivity
| 属性 | 类型 | 必填 | 说明 |
|---|---|---|---|
| id | int | true | 活动ID |
| title | string | true | 活动标题 |
| imageUrl | string | true | 活动图片地址 |
| eventAddress | string | true | 活动地址 |
| navigationAddress | string | true | 导航地址 |
| longitude | string | true | 经度 |
| latitude | string | true | 纬度 |
| signUpNumber | int | true | 已报名人数 |
| contactNumber | string | true | 联系电话 |
| activityTimeType | int | true | 活动时间类型 |
| activityTimeDescription | string | true | 活动时间描述 |
| activityTime | string | true | 活动时间 |
recentInfo
| 属性 | 类型 | 必填 | 说明 |
|---|---|---|---|
| id | int | true | 资讯ID |
| title | string | true | 资讯标题 |
| description | string | true | 资讯描述 |
| imageUrl | string | true | 资讯图片地址 |
| isDelete | int | true | 是否删除 |
| createTime | string | true | 创建时间 |
partyConstitutionList
| 属性 | 类型 | 必填 | 说明 |
|---|---|---|---|
| id | int | true | 党建id |
| title | string | true | 党建标题 |
| createTime | string | true | 创建时间 |
返回示例
{
"response": {
"usersTotal": 7,
"membersTotal": 2,
"authTotal": 4,
"companyTotal": 3,
"noExamineVoucherTotal": 3,
"companyUnauditedTotal": 1,
"ongoingActivity": [
{
"id": 2,
"title": "测试活动内容",
"imageUrl": "",
"eventAddress": "",
"navigationAddress": "",
"longitude": "",
"latitude": "",
"signUpNumber": 0,
"contactNumber": "",
"activityTimeType": 2,
"activityTimeDescription": "三天连夜服务",
"activityTime": null
},
{
"id": 1,
"title": "测试活动1张三",
"imageUrl": "",
"eventAddress": "",
"navigationAddress": "",
"longitude": "",
"latitude": "",
"signUpNumber": 0,
"contactNumber": "",
"activityTimeType": 1,
"activityTimeDescription": "",
"activityTime": "2025-01-01 09:24:12"
}
],
"recentInfo": [
{
"id": 1,
"title": "资讯1111",
"description": "描述",
"imageUrl": null,
"isDelete": 0,
"createTime": "2024-12-14 11:53:09"
}
],
"partyConstitutionList": [
{
"id": 3,
"title": "新的党建党章demo",
"createTime": "2025-01-07 11:30:34"
},
{
"id": 1,
"title": "第一篇文章",
"createTime": "2024-12-23 22:23:05"
}
]
},
"requestId": "e0947b3d-1907-4ca2-bbc9-2eed9e7c8cab"
}