文档
测试

套餐列表

POST
http://djsh.meiliancheng.cn/index.php?s=/api/goods/lists

请求参数

参数名
类型
描述
必填
shop_id
int
示例:10001
必填
wxapp_id
int
10001
必填
page
int
1
必填
type
int
(0商品,2套餐)2
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
object
数据字典
必填
total
int
示例:1
必填
per_page
int
示例:15
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
goods_id
int
示例:11710
必填
shop_id
int
示例:10001
必填
type
int
示例:0
必填
goods_name
string
示例:测试
必填
selling_point
string
示例:
必填
category_id
int
示例:10005
必填
spec_type
int
示例:10
必填
deduct_stock_type
int
示例:10
必填
goods_sort
int
示例:100
必填
buy_limit
int
示例:0
必填
least_expend_money
string
示例:0.00
必填
delivery_id
int
示例:10001
必填
is_new_user_enjoy
int
示例:0
必填
is_points_gift
int
示例:1
必填
is_points_discount
int
示例:1
必填
is_enable_balance_price
int
示例:0
必填
is_enable_grade
int
示例:1
必填
is_alone_grade
int
示例:0
必填
alone_grade_equity
object
数据字典
必填
10001
string
示例:
必填
10002
string
示例:
必填
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
必填
is_rush
int
示例:0
必填
is_points_exchange
int
示例:0
必填
need_points_num
int
示例:0
必填
need_points_money
string
示例:0.00
必填
video
object
示例:null
必填
goods_status
object
数据字典
必填
text
string
示例:上架
必填
value
int
示例:10
必填
is_hot
int
示例:1
必填
goods_sales
int
示例:0
必填
goods_min_price
string
示例:100.00
必填
goods_max_price
string
示例:100.00
必填
goods_stock
int
示例:11
必填
goods_image
string
示例:http://djsh.meiliancheng.cn/uploads/2020060611493827c270761.jpeg
必填
goods_sku
object
数据字典
必填
goods_sku_id
int
示例:22490
必填
goods_id
int
示例:11710
必填
spec_sku_id
string
示例:0
必填
image_id
int
示例:0
必填
goods_no
string
示例:
必填
balance_price
string
示例:0.00
必填
goods_price
string
示例:100.00
必填
line_price
string
示例:0.00
必填
stock_num
int
示例:11
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:1
必填
image
object
示例:null
必填
goods_multi_spec
object
示例:null
必填
is_user_grade
boolean
示例:false
必填
shop
object
数据字典
必填
shop_id
int
示例:10001
必填
apply_id
int
示例:0
必填
shop_name
string
示例:fashion
必填
logo_image_id
int
示例:19907
必填
image_id
int
示例:19909
必填
area_id
int
示例:10431
必填
category_id
int
示例:10430
必填
tips
string
示例:
必填
linkman
string
示例:球球
必填
phone
string
示例:18328462549
必填
password
string
示例:e10adc3949ba59abbe56e057f20f883e
必填
shop_hours
string
示例:8:00-18:00
必填
province_id
int
示例:2367
必填
city_id
int
示例:2368
必填
region_id
int
示例:2369
必填
address
string
示例:狮子山校区
必填
longitude
string
示例:104.463730
必填
latitude
string
示例:30.873015
必填
geohash
string
示例:wm6r9hk0m74
必填
summary
string
示例:一家小店!
必填
sort
int
示例:100
必填
is_hot
int
示例:1
必填
is_check
int
示例:1
必填
status
int
示例:1
必填
region
object
数据字典
必填
province
string
示例:四川省
必填
city
string
示例:成都市
必填
region
string
示例:锦江区
必填