文档
测试

根据条件查询诗词

POST
/poetry/search

接口描述

根据条件查询诗词列表

请求参数

参数名
类型
描述
必填
body
请求体
必填
poetry
Poetry
以下有字段,为可填字段
必填
Id
String
诗词Id
可选
title
String
诗词标题
可选
author
String
作者
可选
dynasty
String
朝代
可选
set
String
集合
可选
style
String
体裁
可选
type
String
分类
可选

响应参数

参数名
类型
描述
必填
ApiPoetryListResponse
必填
flage
boolean
是否成功
必填
code
Integer
返回码
必填
message
String
返回信息
必填
data
如果成功,就有此项
可选
poetryList
List<Poetry>
诗词列表
可选
poetry
Poetry
诗词
可选
Id
String
诗词Id
必填
title
String
标题
必填
paragraphs
List<String>
诗词内容
必填
author
String
作者,如果有就返回
可选
dynasty
String
朝代,如果有就返回
可选
notes
List<String>
注解,如果有就返回
可选
set
String
集合,如果有就返回
可选
style
String
体裁,如果有就返回
可选
type
String
分类
必填
total
integer
查询得到的诗词条数
可选