GET api/qbarquestions?kw={kw}&areaid={areaid}&city={city}&province={province}&page={page}&pagesize={pagesize}
【问吧】 问题分页数据查询接口
请求信息
URI 参数
Name | Description | Type | Additional information |
---|---|---|---|
kw |
模糊查询字段 传值时其余条件不过滤 |
string |
Default value is |
areaid |
地区ID 获取指定区域数据传区域ID |
integer |
Default value is 0 |
city |
城市 |
string |
Default value is |
province |
省份 |
string |
Default value is |
page |
页码 默认1 |
integer |
Default value is 1 |
pagesize |
页容量 默认20 |
integer |
Default value is 20 |
Body 请求体 参数
None.
响应消息
内容 描述
CxccApiResponseBaseOfCxccPageDataOfQBarQuestionName | Description | Type | Additional information |
---|---|---|---|
data | CxccPageDataOfQBarQuestion |
None. |
|
code | integer |
None. |
|
msg | string |
None. |
响应示例
application/json, text/json
Sample:
{ "data": { "total": 1, "page_total": 2, "page_data": [ { "id": "sample string 1", "title": "sample string 2", "cont": "sample string 3", "cont_append": "sample string 4", "add_time": "2025/04/04 21:08:00", "add_time_show": "刚刚", "mod_time": "2025/04/04 21:08:00", "answer_num": 7, "hits": 8, "isend": 9, "op_id": "sample string 10", "op": { "user_id": "sample string 1", "user_name": "sample string 2", "head_img": "sample string 3", "phone": "sample string 4", "jobtime": 5, "nianxian": 6, "comname": "sample string 7", "ulevel": 8, "areaID1": 9, "areaID2": 10, "areaname1": "sample string 11", "areaname2": "sample string 12", "vobaorz_logo": "sample string 13", "authlevel": 14, "uintroduction": "sample string 15", "jobposition": "sample string 16", "isvip": 17 } }, { "id": "sample string 1", "title": "sample string 2", "cont": "sample string 3", "cont_append": "sample string 4", "add_time": "2025/04/04 21:08:00", "add_time_show": "刚刚", "mod_time": "2025/04/04 21:08:00", "answer_num": 7, "hits": 8, "isend": 9, "op_id": "sample string 10", "op": { "user_id": "sample string 1", "user_name": "sample string 2", "head_img": "sample string 3", "phone": "sample string 4", "jobtime": 5, "nianxian": 6, "comname": "sample string 7", "ulevel": 8, "areaID1": 9, "areaID2": 10, "areaname1": "sample string 11", "areaname2": "sample string 12", "vobaorz_logo": "sample string 13", "authlevel": 14, "uintroduction": "sample string 15", "jobposition": "sample string 16", "isvip": 17 } } ], "page_index": 3 }, "code": 1, "msg": "sample string 2" }
image/png
Sample:
Sample not available.
image/jpg
Sample:
Sample not available.