教学练测项目-面试宝典-鸿蒙
  1. 鸿蒙面试宝典刷题
教学练测项目-面试宝典-鸿蒙
  • 鸿蒙面试宝典刷题
    • 个人中心-保存用户数据信息
      POST
    • 个人中心-获取用户数据
      GET
    • 个人中心-修改用户头像
      POST
    • 个人中心-完善用户头像和昵称
      POST
    • 小程序-查询个人学习数据
      GET
    • 反馈-查询反馈类型
      GET
    • 签到-查询打卡签到信息
      GET
    • 上传-素材上传
      POST
    • 分享-统计分享链接信息
      GET
    • 学习信息-统计时长埋点
      POST
    • 首页/项目-获取分类
      GET
    • 统计-访问埋点
      GET
    • 统计-面经已读完埋点
      POST
    • 收藏、点赞试题或者面经
      POST
    • 取消收藏、点赞试题或者面经
      POST
    • 查询收藏、点赞、浏览的试题/面经列表
      GET
    • 查询试题/面经列表
      GET
    • 查询试题/面经详情信息
      GET
    • 查询面经详情页面-其他推荐列表
      GET
    • 反馈-提交反馈信息(试题详情页面)
      POST
    • 首页-刷新token
      POST
    • 首页-打卡
      POST
    • 首页-是否已经打卡
      GET
    • 首页-登录(用户名和密码)
      POST
  1. 鸿蒙面试宝典刷题

查询试题/面经列表

开发中
GET
https://api-harmony-teach.itheima.net/hm/question/list
小程序刷题
列表默认排序:默认排序按照题目权重倒序排序,题目权重相同可以按照题目最后修改时间倒序排列
题目权重计算:权重值=0.7*(当前点赞数/最大点赞数)+0.3*(当前浏览量/最大浏览量)
阶段选择:根据题目,决定前端的几个阶段
排序增加已读沉底的基础排序功能,在这个排序基础上,再增加其他的排序
其中,有一个类别比较特殊下,后台管理系统项目的类型需要按照录入题目的时间正序排列

请求参数

Query 参数
type
string 
可选
0或者不传,查询全部 或者类型id
示例值:
0
keyword
string 
可选
搜索关键词,(定位题目,传题号)
示例值:
vue
sort
string 
可选
排序,默认0,可以不传,难易-10从易到难11从难道易,浏览量:20从低到高21从高到底,30推荐数据(按照权重倒序)
面经默认是按照更新时间
示例值:
0
pageSize
string 
可选
每页大小,为空默认是10
示例值:
10
page
string 
可选
当前页数,为空默认是1
示例值:
1
questionBankType
string 
必需
9面经10小程序面试题
示例值:
9
Header 参数
Authorization
string 
可选
默认值:
Bearer {{token}}

返回响应

🟢200成功
application/json
Body
success
boolean 
成功标识
可选
code
number 
code,10000正常,其他为失败
可选
message
string 
消息
可选
data
object 
报文数据
可选
total
number 
总数
可选
pageTotal
number 
总页数
可选
rows
array [object {16}] 
数据集合
可选
>= 10 items<= 100 items
示例
{
    "success": true,
    "code": 0,
    "message": "string",
    "data": {
        "total": 0,
        "pageTotal": 0,
        "rows": [
            {
                "id": "string",
                "questionNo": "string",
                "stem": "string",
                "content": "string",
                "stemAttachmentId": "string",
                "subjectName": "string",
                "questionType": 0,
                "planSceneName": "核心提炼",
                "difficulty": 0,
                "createdAt": "string",
                "views": 0,
                "likeCount": 0,
                "likeFlag": 0,
                "creatorAvatar": "string",
                "creatorName": "string",
                "readFlag": 0
            },
            {
                "id": "string",
                "questionNo": "string",
                "stem": "string",
                "content": "string",
                "stemAttachmentId": "string",
                "subjectName": "string",
                "questionType": 0,
                "planSceneName": "核心提炼",
                "difficulty": 0,
                "createdAt": "string",
                "views": 0,
                "likeCount": 0,
                "likeFlag": 0,
                "creatorAvatar": "string",
                "creatorName": "string",
                "readFlag": 0
            },
            {
                "id": "string",
                "questionNo": "string",
                "stem": "string",
                "content": "string",
                "stemAttachmentId": "string",
                "subjectName": "string",
                "questionType": 0,
                "planSceneName": "核心提炼",
                "difficulty": 0,
                "createdAt": "string",
                "views": 0,
                "likeCount": 0,
                "likeFlag": 0,
                "creatorAvatar": "string",
                "creatorName": "string",
                "readFlag": 0
            },
            {
                "id": "string",
                "questionNo": "string",
                "stem": "string",
                "content": "string",
                "stemAttachmentId": "string",
                "subjectName": "string",
                "questionType": 0,
                "planSceneName": "核心提炼",
                "difficulty": 0,
                "createdAt": "string",
                "views": 0,
                "likeCount": 0,
                "likeFlag": 0,
                "creatorAvatar": "string",
                "creatorName": "string",
                "readFlag": 0
            },
            {
                "id": "string",
                "questionNo": "string",
                "stem": "string",
                "content": "string",
                "stemAttachmentId": "string",
                "subjectName": "string",
                "questionType": 0,
                "planSceneName": "核心提炼",
                "difficulty": 0,
                "createdAt": "string",
                "views": 0,
                "likeCount": 0,
                "likeFlag": 0,
                "creatorAvatar": "string",
                "creatorName": "string",
                "readFlag": 0
            },
            {
                "id": "string",
                "questionNo": "string",
                "stem": "string",
                "content": "string",
                "stemAttachmentId": "string",
                "subjectName": "string",
                "questionType": 0,
                "planSceneName": "核心提炼",
                "difficulty": 0,
                "createdAt": "string",
                "views": 0,
                "likeCount": 0,
                "likeFlag": 0,
                "creatorAvatar": "string",
                "creatorName": "string",
                "readFlag": 0
            },
            {
                "id": "string",
                "questionNo": "string",
                "stem": "string",
                "content": "string",
                "stemAttachmentId": "string",
                "subjectName": "string",
                "questionType": 0,
                "planSceneName": "核心提炼",
                "difficulty": 0,
                "createdAt": "string",
                "views": 0,
                "likeCount": 0,
                "likeFlag": 0,
                "creatorAvatar": "string",
                "creatorName": "string",
                "readFlag": 0
            },
            {
                "id": "string",
                "questionNo": "string",
                "stem": "string",
                "content": "string",
                "stemAttachmentId": "string",
                "subjectName": "string",
                "questionType": 0,
                "planSceneName": "核心提炼",
                "difficulty": 0,
                "createdAt": "string",
                "views": 0,
                "likeCount": 0,
                "likeFlag": 0,
                "creatorAvatar": "string",
                "creatorName": "string",
                "readFlag": 0
            },
            {
                "id": "string",
                "questionNo": "string",
                "stem": "string",
                "content": "string",
                "stemAttachmentId": "string",
                "subjectName": "string",
                "questionType": 0,
                "planSceneName": "核心提炼",
                "difficulty": 0,
                "createdAt": "string",
                "views": 0,
                "likeCount": 0,
                "likeFlag": 0,
                "creatorAvatar": "string",
                "creatorName": "string",
                "readFlag": 0
            },
            {
                "id": "string",
                "questionNo": "string",
                "stem": "string",
                "content": "string",
                "stemAttachmentId": "string",
                "subjectName": "string",
                "questionType": 0,
                "planSceneName": "核心提炼",
                "difficulty": 0,
                "createdAt": "string",
                "views": 0,
                "likeCount": 0,
                "likeFlag": 0,
                "creatorAvatar": "string",
                "creatorName": "string",
                "readFlag": 0
            }
        ]
    }
}
上一页
查询收藏、点赞、浏览的试题/面经列表
下一页
查询试题/面经详情信息
Built with