商品列表
GET
https://mall.bxync.com/index.php?s=/api/goods/lists&category_id=1&sale_type=10
请求参数
参数名
类型
描述
必填
s
string
示例:/api/goods/lists
必填
category_id
int
示例:1 (商品分类id)
必填
sale_type
int
示例:10 (选项卡 10=>热销 20=>预售)
必填
page
int
页码
必填
listRows
int
每页数量
必填
search
string
商品名称搜索
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
total
int
示例:1
必填
per_page
int
示例:15
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
goods_id
int
示例:5
必填
goods_name
string
示例:iphone
必填
selling_point
string
示例:手机
必填
category_id
int
示例:5
必填
spec_type
int
示例:10
必填
deduct_stock_type
int
示例:10
必填
content
string
示例:<p>121</p>
必填
goods_sort
int
示例:100
必填
delivery_id
int
示例:10001
必填
is_enable_grade
int
示例:1
必填
is_alone_grade
int
示例:0
必填
is_ind_dealer
int
示例:0
必填
dealer_money_type
int
示例:10
必填
first_money
string
示例:0.00
必填
second_money
string
示例:0.00
必填
third_money
string
示例:0.00
必填
sale_type
int
示例:10
必填
goods_sales
int
示例:0
必填
goods_min_price
string
示例:1500.00
必填
goods_max_price
string
示例:1500.00
必填
goods_image
string
示例:https://mall.bxync.com/uploads/20200523093055a724e0395.jpg
必填
use_num
int
示例:0
必填
is_user_grade
boolean
示例:true
必填
id
int
示例:56
必填
goods_id
int
示例:5
必填
image_id
int
示例:7
必填
file_path
string
示例:https://mall.bxync.com/uploads/20200523093055a724e0395.jpg
必填
file_name
string
示例:20200523093055a724e0395.jpg
必填
file_url
string
示例:
必填
goods_sku_id
int
示例:106
必填
goods_id
int
示例:5
必填
spec_sku_id
string
示例:0
必填
image_id
int
示例:0
必填
goods_no
string
示例:
必填
goods_price
string
示例:1470.00
必填
line_price
string
示例:6000.00
必填
purchase_price
object
示例:null
必填
discount_price
object
示例:null
必填
stock_num
int
示例:0
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:12
必填