问答分类
请求URL:
api/config/type
请求方式:
- POST
参数:
返回示例
{
"code": 0,
"msg": "成功",
"data": {
"list": [
{
"id": "1",
"title": "解梦分析",
"description": "模拟面试",
"image": "https://ai.carryba.com/web/avatar.jpg",
"sort": null
},
{
"id": "2",
"title": "推广文案",
"description": "模拟面试",
"image": "https://ai.carryba.com/web/avatar.jpg",
"sort": null
},
{
"id": "3",
"title": "模拟面试",
"description": "模拟面试",
"image": "https://ai.carryba.com/web/avatar.jpg",
"sort": null
}
],
"user": {
"integral": "10"
},
"integral":"10"
}
}
返回参数说明
字段 | 类型 | 空 | 默认 | 注释 |
---|---|---|---|---|
id | int(11) | 是 | ||
title | varchar(20) | 是 | 分类标题 | |
description | varchar(20) | 是 | 描述 | |
image | varchar(20) | 是 | 分类图标 | |
sort | tinyint(1) | 是 | 排序 |
字段 | 类型 | 空 | 默认 | 注释 |
---|---|---|---|---|
integral | int(11) | 是 | 积分 |