文档
测试
POST
http://test.ywzyit.com/api.html

请求参数

参数名
类型
描述
必填
token
string
示例:de6d8a1d7ae1116e6ecc1a6704934a84
必填
method
string
示例:app.index
必填
site_token
int
示例:123456
必填

响应参数

参数名
类型
描述
必填
status
boolean
示例:true
必填
msg
string
示例:
必填
data
object
数据字典
必填
category
array
分类,数据列表
必填
id
int
示例:14
必填
name
string
示例:食品
必填
sort
int
示例:1
必填
image_id
string
示例:dc756d5fcf9274597d2a2721706d7d36
必填
image_url
string
示例:https://huzhu.meiliancheng.cn/static/uploads/images/2019/12/20/15768098995dfc35ab51e15.png
必填
banner
object
轮播,数据字典
必填
status
boolean
示例:true
必填
msg
string
示例:获取成功
必填
data
object
数据字典
必填
list
array
数据列表
必填
id
int
示例:3
必填
position_id
int
示例:1
必填
code
string
示例:tpl1_slider
必填
name
string
示例:会员十大特权
必填
img
string
示例:http://img.ywzyit.com/static/uploads/images/2020/11/24/16062096895fbcd0997c91e.jpg
必填
type
int
类型 1url 2商品 .3文章。示例:3
必填
val
string
文章id,商品id,或者url.示例:8
必填
sort
int
示例:100
必填
count
int
示例:3
必填
notice_list
object
滚动消息,数据字典
必填
1607938796
object
数据字典
必填
title
string
示例:v***在17:39下单成功
必填
1607939162
object
数据字典
必填
title
string
示例:v***在17:46下单成功
必填
1607943505
object
数据字典
必填
title
string
示例:人***在18:58发了18.00元红包
必填
1607944007
object
数据字典
必填
title
string
示例:顾***在19:06发了18.00元红包
必填
1607945687
object
数据字典
必填
title
string
示例:宿***在19:34发了9.00元红包
必填
1607948067
object
数据字典
必填
title
string
示例:恭喜热***在20:14加入VIP会员
必填
1607948411
object
数据字典
必填
title
string
示例:恭喜海***在20:20加入VIP会员
必填
1607948531
object
数据字典
必填
title
string
示例:小***在20:22下单成功
必填
1607948705
object
数据字典
必填
title
string
示例:恭喜阿***在20:25加入VIP会员
必填
1607949128
object
数据字典
必填
title
string
示例:👉***在20:32抢了0.20元现金红包
必填
1607949134
object
数据字典
必填
title
string
示例:喜***在20:32抢了0.19元现金红包
必填
1607949140
object
数据字典
必填
title
string
示例:泡***在20:32抢了0.10元现金红包
必填
tqm_list
object
团抢商品,数据字典
必填
status
boolean
示例:true
必填
data
array
数据列表
必填
id
int
示例:1427
必填
bn
string
示例:G6071606989710
必填
name
string
商品名称,示例:小象奇奇儿童牙膏可吞咽3一12岁小孩无氟6岁以上小学生防蛀按压式
必填
brief
string
示例:
必填
price
string
抢购价,示例:11.90
必填
costprice
string
示例:10.90
必填
mktprice
string
示例:0.00
必填
image_id
string
示例:da8c2b92071ed35f089bd25ed82dc649
必填
goods_cat_id
int
示例:146
必填
goods_type_id
int
示例:51
必填
brand_id
int
示例:0
必填
is_nomal_virtual
int
示例:1
必填
marketable
int
示例:2
必填
stock
int
示例:10
必填
weight
string
示例:0.00
必填
unit
string
示例:
必填
intro
string
示例:<p style='overflow:hidden'><strong><span style="font-size: 20px;">淘宝售价19.9元</span></strong></p><p style='overflow:hidden'><strong><span style="font-size: 20px;"></span></strong></p><p style='overflow:hidden'><img style='max-width: 100%;float:left' src="http://img.ywzyit.com/static/uploads/images/2020/12/05/16071606905fcb537233c53.jpg"/></p><p style='overflow:hidden'><img style='max-width: 1...
必填
spes_desc
数据字典
必填
口味
object
数据字典
必填
185319
string
示例:无氟缤纷水果120g
必填
params
string
示例:
必填
service
object
示例:null
必填
comments_count
int
示例:0
必填
view_count
int
示例:0
必填
buy_count
int
示例:0
必填
xuni_num
object
示例:null
必填
uptime
object
示例:null
必填
downtime
object
示例:null
必填
sort
int
示例:100
必填
is_recommend
int
示例:2
必填
is_hot
int
示例:2
必填
is_tqm
int
示例:2
必填
success_num
int
示例:0
必填
start_time
string
开始时间,示例:1970-01-01 08:00
必填
end_time
string
结束时间,示例:1970-01-01 08:00
必填
label_ids
array
数据列表
必填
new_spec
string
示例:a:20:{i:185300;a:1:{i:0;s:76:"2斤装口味请备注(牛奶、草莓、香蕉、香橙、混和口味)";}i:185301;a:1:{i:0;s:73:"爱尚咪咪360g4袋80包组合(虾味+蟹味+牛肉味+小龙虾味)";}i:185302;a:1:{i:0;s:50:"爱尚咪咪720g2袋80包组合(虾味+蟹味)";}i:185303;a:1:{i:0;s:102:"口味请备注(孜然、酱香、蒜蓉、香辣肉酱、芝麻肉酱、烧烤肉酱可选一种)";}i:185304;a:1:{i:0;s:76:"口味请备注(10袋香辣、10袋蒜蓉、5袋香辣+5袋蒜蓉可选)";}i:185305;a:1:{i:0;s:27:"1支西柚口味(20片)";}i:185306;a:1:{i:0;s:14:"芒果味30包";}i:185307;a:1:{i:0;s:59:"20包(有香辣味、黑椒味可...
必填
ctime
object
示例:null
必填
utime
int
示例:1607334400
必填
isdel
object
示例:null
必填
commission
string
示例:0.00
必填
recommend_goods_id
int
示例:0
必填
want_goods_id
int
示例:0
必填
buy_limit
int
示例:0
必填
brand_name
object
示例:null
必填
cat_name
string
示例:分类一一
必填
products
array
数据列表
必填
id
int
示例:9053
必填
goods_id
int
示例:1427
必填
barcode
object
示例:null
必填
sn
string
示例:P6071606989784
必填
price
string
示例:11.90
必填
costprice
string
示例:10.90
必填
mktprice
string
示例:0.00
必填
marketable
int
示例:2
必填
stock
int
示例:10
必填
freeze_stock
int
示例:0
必填
spes_desc
string
示例:口味:无氟缤纷水果120g
必填
is_defalut
int
示例:1
必填
image_id
string
示例:
必填
isdel
object
示例:null
必填
name
string
示例:小象奇奇儿童牙膏可吞咽3一12岁小孩无氟6岁以上小学生防蛀按压式
必填
buy_limit
int
示例:0
必填
bn
string
示例:G6071606989710
必填
image_path
string
示例:http://img.ywzyit.com/static/uploads/images/2020/12/05/16071606395fcb533f59812.jpg
必填
total_stock
int
示例:10
必填
grade_price
array
数据列表
必填
grade_info
array
数据列表
必填
default_spes_desc
object
数据字典
必填
口味
object
数据字典
必填
无氟缤纷水果120g
object
数据字典
必填
name
string
示例:无氟缤纷水果120g
必填
is_default
boolean
示例:true
必填
amount
string
示例:11.90
必填
promotion_list
array
数据列表
必填
promotion_amount
int
示例:0
必填
image_url
string
商品图,示例:http://img.ywzyit.com/static/uploads/images/2020/12/05/16071606395fcb533f59812.jpg
必填
default
object
数据字典
必填
id
int
示例:9053
必填
goods_id
int
示例:1427
必填
barcode
object
示例:null
必填
sn
string
示例:P6071606989784
必填
price
string
示例:11.90
必填
costprice
string
示例:10.90
必填
mktprice
string
示例:0.00
必填
marketable
int
示例:2
必填
stock
int
示例:10
必填
freeze_stock
int
示例:0
必填
spes_desc
string
示例:口味:无氟缤纷水果120g
必填
is_defalut
int
示例:1
必填
image_id
string
示例:
必填
isdel
object
示例:null
必填
name
string
示例:小象奇奇儿童牙膏可吞咽3一12岁小孩无氟6岁以上小学生防蛀按压式
必填
buy_limit
int
示例:0
必填
bn
string
示例:G6071606989710
必填
image_path
string
示例:http://img.ywzyit.com/static/uploads/images/2020/12/05/16071606395fcb533f59812.jpg
必填
total_stock
int
示例:10
必填
grade_price
array
数据列表
必填
grade_info
array
数据列表
必填
default_spes_desc
object
数据字典
必填
口味
object
数据字典
必填
无氟缤纷水果120g
object
数据字典
必填
name
string
示例:无氟缤纷水果120g
必填
is_default
boolean
示例:true
必填
amount
string
示例:11.90
必填
promotion_list
array
数据列表
必填
promotion_amount
int
示例:0
必填
product
object
数据字典
必填
id
int
示例:9053
必填
goods_id
int
示例:1427
必填
barcode
object
示例:null
必填
sn
string
示例:P6071606989784
必填
price
string
示例:11.90
必填
costprice
string
示例:10.90
必填
mktprice
string
示例:0.00
必填
marketable
int
示例:2
必填
stock
int
示例:10
必填
spes_desc
string
示例:口味:无氟缤纷水果120g
必填
is_defalut
int
示例:1
必填
image_id
string
示例:
必填
isdel
object
示例:null
必填
name
string
示例:小象奇奇儿童牙膏可吞咽3一12岁小孩无氟6岁以上小学生防蛀按压式
必填
buy_limit
int
示例:0
必填
bn
string
示例:G6071606989710
必填
image_path
string
示例:http://img.ywzyit.com/static/uploads/images/2020/12/05/16071606395fcb533f59812.jpg
必填
total_stock
int
示例:10
必填
grade_price
array
数据列表
必填
grade_info
array
数据列表
必填
default_spes_desc
object
数据字典
必填
口味
object
数据字典
必填
无氟缤纷水果120g
object
数据字典
必填
name
string
示例:无氟缤纷水果120g
必填
is_default
boolean
示例:true
必填
amount
string
示例:11.90
必填
promotion_list
array
数据列表
必填
promotion_amount
int
示例:0
必填
album
array
数据列表
必填
total_stock
int
示例:10
必填
is_buy_num
int
示例:0
必填
isfav
string
示例:false
必填
can_buy
string
示例:is_end
必填
vip_price
float
示例:11.9
必填
is_notice
int
示例:0
必填
msg
string
示例:
必填
total
int
示例:1
必填
tqm_list2
object
即将团抢商品
必填