文档
测试

商品信息分页

GET
http://120.24.110.244:8090/goods/getgoodsList?page=2&pagesize=6&search=%7B%7D&sort=%7B%22price%22%3A1%7D

接口描述

search,sort为json格式,sort只有价格排序,1是升序,非1是降序

请求参数

参数名
类型
描述
必填
page
int
示例:1
必填
pagesize
int
示例:5
必填
search
string
示例:{}
必填
sort
string
示例:{"price":1}
必填

响应参数

参数名
类型
描述
必填
code
int
示例:2000
必填
flag
boolean
示例:true
必填
msg
string
示例:查询成功
必填
data
array
数据列表
必填
id
int
示例:459
必填
title
string
示例:爱琴海/蓝纹·手作景观多肉盆栽
必填
price
int
示例:129
必填
goodimg
string
示例:http://120.24.110.244:8090/img/6010159.jpg_220x240.jpg
必填
feature
object
示例:null
必填
goodstype
string
示例:绿植花卉
必填
use
string
示例:多肉盆栽
必填
total
int
示例:232
必填
page
string
示例:2
必填
pagesize
string
示例:6
必填
allpage
int
示例:39
必填