文档
测试

商品的排序方式

GET
http://localhost:8880/goods/goodsSort/6/2

接口描述

第一个为商品样式s_id 第二个动态id排序方式 升序为1 降序为2

响应参数

参数名
类型
描述
必填
code
int
示例:2000
必填
flag
boolean
示例:true
必填
message
string
示例:排序成功
必填
data
array
数据列表
必填
t_id
int
示例:1
必填
s_id
int
示例:6
必填
g_id
int
示例:16
必填
title
string
示例:极地s_id中长款鹅绒服 男款 黑色
必填
price
string
示例:158元
必填
goodsimg
string
示例:["http://i.vanclimg.com/640/q80/product/6/3/8/6386679/big/6386679-1j202001191652491358.jpg","http://i.vanclimg.com/640/q80/product/6/3/8/6386679/big/6386679-3202001191652491358.jpg","http://i.vanclimg.com/640/q80/product/6/3/8/6386679/big/6386679-4201911080930478771.jpg","http://i.vanclimg.com/640/q80/product/6/3/8/6386679/big/6386679-5201911080930478771.jpg","http://i.vanclimg.com/640/q80/...
必填
imgdetail
string
示例:["https://mi1.vanclimg.com/oms/2019_11_13_11_34_48_5497_640x799.jpg","https://mi.vanclimg.com/oms/2019_11_13_11_34_51_262_640x131.jpg","https://mi.vanclimg.com/oms/2019_11_13_11_34_52_3119_640x460.jpg","https://mi2.vanclimg.com/oms/2019_11_13_11_34_52_7612_640x278.jpg","https://mi2.vanclimg.com/oms/2019_12_4_13_11_53_8065_640x727.jpg","https://mi.vanclimg.com/oms/2019_12_4_13_11_56_476_640x...
必填