wolf2w_cloud-master

狼性天下


我的提问

[TOC]

简要描述
  • 用户端 我的问答 我的提问接口
请求URL
  • http://localhost:9000/trip-wenda-server/questions/question
请求方式
  • GET
返回示例
  {
    "msg": "success",
    "code": 200,
    "data": [
        {
            "like": 1,
            "userImg": "/images/default.jpg",
            "msg": "一家5口,预算2W",
            "title": "10月份有哪些推荐一家人去的地方",
            "username": "xiaoliu",
            "address": "成都",
            "time": "2023-01-12T11:14:58.000+00:00",
            "answernum": 0
        }
    ]
}
返回参数说明
参数名 类型 说明
like Integer 关注量
answernum Integer 回答数
title String 问题的标题
msg String 问题的内容
userImg String 题主的头像
username String 题主的昵称
address String 问题的归属目的地
time Date 发表时间
备注
  • 用户未登录或登录失效, 返回错误代码情况示例
  {
    "timestamp": "2023-01-12T08:50:51.845+00:00",
    "status": 500,
    "error": "Internal Server Error",
    "message": "",
    "path": "/questions/question"
}

页面列表

ITEM_HTML