访问路径:api/template/list

接口说明:获取模板列表

URL结构

https://open.rabbitpre.com/api/template/list

接口协议:HTTPS

HTTP请求方式:GET

请求参数

参数必选类型说明
typetruestring模板类型 1:翻页,2:长页,6:企业专区
filtersfalsestring过滤器,格式json,示例:{"tplscene":"ALL","tpltheme":"ALL"},tplscene和tpltheme从模板分类接口获取
pageNofalseinteger页码(最小值:1)
pageSizefalseinteger每页数量(最小值:1,最大值:200)

请求示例

换行和缩进只是为了更好的展示:

https://open.rabbitpre.com/api/template/list?type=1

返回参数

参数类型说明
idstring模板id
titlestring模板标题
descstring模板描述
tplimgstring模板封面图片url(tplCoversFilepath不为空用tplCoversFilepath
tplExtstring扩展字段(height:模板高度)
tplPrice
integer模板价格(原始价格)
tplViewcount
integer模板浏览次数
tplAmount
integer模板使用量
tplCoversFilepath
string模板封面图片url(值为空时用tplimg
tplSpecies
integer模板类型 1:场景作品(翻页),2:一页作品(长页),3:一视作品
previewUrl
string预览url
isCollectionTpl
string是否收藏
minimumPrice
integer模板最小价格(当前价格)
appVersion
integer作品版本(0:老作品,1:老作品转新作品,2:新作品,3:小程序)
tplFreeLimit
integer是否企业限免

discountRatio

float折扣
minusValue
float立减金额

返回示例


  • 无标签