文档
测试

租赁详情

POST
/api

请求参数

参数名
类型
描述
必填
method
goods.getLeaseDetail
必填
id
商品的id
必填

响应参数

参数名
类型
描述
必填
status
boolean
示例:true
必填
msg
string
示例:查询成功
必填
data
object
数据字典
必填
id
number
示例:12488
必填
spec_value
array
商品属性,其他与商品详情相同,只是多了此字段,数据列表
必填
name
string
属性名称,示例:颜色
必填
val
array
数据列表
必填
id
number
示例:1
必填
value
string
属性值,示例:红色
必填
spec_id
number
示例:1
必填
bn
string
示例:HYS87378890
必填
name
string
示例:阿斯顿发
必填
brief
string
示例:
必填
price
string
示例:1111.00
必填
myprice
string
商城价格,示例:1111.00
必填
costprice
string
示例:0.00
必填
mktprice
string
示例:0.00
必填
image_id
string
示例:92521ca60b2d8f656c44f62ee8e9ac52
必填
goods_cat_id
number
示例:1096
必填
goods_type_id
number
示例:2
必填
brand_id
number
示例:108
必填
is_nomal_virtual
number
示例:1
必填
marketable
number
示例:1
必填
stock
number
示例:111
必填
freeze_stock
number
示例:0
必填
weight
string
示例:0.00
必填
unit
string
示例:
必填
intro
string
示例:<p>阿斯顿发顺丰</p>
必填
spes_desc
string
示例:1,3,5,21,33
必填
params
string
示例:a:1:{s:6:"默认";s:12:"官方标配";}
必填
comments_count
number
示例:0
必填
view_count
number
示例:0
必填
buy_count
number
示例:0
必填
uptime
object
示例:null
必填
downtime
object
示例:null
必填
sort
number
示例:100
必填
is_recommend
number
示例:2
必填
is_hot
number
示例:2
必填
label_ids
array
数据列表
必填
ctime
number
示例:1587378890
必填
utime
number
示例:1587431400
必填
isdel
number
示例:0
必填
zc_goods_id
number
示例:0
必填
source
string
示例:8888
必填
product_id
string
示例:
必填
zc_source
number
示例:0
必填
is_integral
number
示例:2
必填
integral_price
string
示例:0
必填
freight
number
示例:0
必填
add_integral_price
string
示例:0
必填
is_lease
number
示例:1
必填
products
array
数据列表
必填
id
number
示例:20985
必填
goods_id
number
示例:12488
必填
barcode
object
示例:null
必填
sn
string
示例:P5873788904525
必填
price
string
示例:1111.00
必填
costprice
string
示例:0.00
必填
mktprice
string
示例:0.00
必填
marketable
number
示例:1
必填
stock
number
示例:111
必填
freeze_stock
number
示例:0
必填
spes_desc
object
示例:null
必填
is_defalut
number
示例:1
必填
isdel
object
示例:null
必填
integral_price
string
示例:0.00
必填
freight
object
示例:null
必填
add_integral_price
string
示例:0
必填
name
string
示例:阿斯顿发
必填
image_id
string
示例:92521ca60b2d8f656c44f62ee8e9ac52
必填
bn
string
示例:HYS87378890
必填
image_path
string
示例:http://www.sjzysdz.com/static/uploads/images//3c/c9/0e/5e9680a24efaa.png
必填
grade_price
array
数据列表
必填
grade_info
object
数据字典
必填
id
string
示例:
必填
default_spes_desc
array
数据列表
必填
0
object
数据字典
必填
name
boolean
示例:false
必填
is_default
boolean
示例:true
必填
amount
string
示例:1111.00
必填
promotion_list
array
数据列表
必填
promotion_amount
number
示例:0
必填
image_url
string
示例:http://www.sjzysdz.com/static/uploads/images//3c/c9/0e/5e9680a24efaa.png
必填
default
object
数据字典
必填
id
number
示例:20985
必填
goods_id
number
示例:12488
必填
barcode
object
示例:null
必填
sn
string
示例:P5873788904525
必填
price
string
示例:1111.00
必填
costprice
string
示例:0.00
必填
mktprice
string
示例:0.00
必填
marketable
number
示例:1
必填
stock
number
示例:111
必填
freeze_stock
number
示例:0
必填
spes_desc
object
示例:null
必填
is_defalut
number
示例:1
必填
isdel
object
示例:null
必填
integral_price
string
示例:0.00
必填
freight
object
示例:null
必填
add_integral_price
string
示例:0
必填
name
string
示例:阿斯顿发
必填
image_id
string
示例:92521ca60b2d8f656c44f62ee8e9ac52
必填
bn
string
示例:HYS87378890
必填
image_path
string
示例:http://www.sjzysdz.com/static/uploads/images//3c/c9/0e/5e9680a24efaa.png
必填
grade_price
array
数据列表
必填
grade_info
object
数据字典
必填
id
string
示例:
必填
default_spes_desc
array
数据列表
必填
0
object
数据字典
必填
name
boolean
示例:false
必填
is_default
boolean
示例:true
必填
amount
string
示例:1111.00
必填
promotion_list
array
数据列表
必填
promotion_amount
number
示例:0
必填
product
object
数据字典
必填
id
number
示例:20985
必填
goods_id
number
示例:12488
必填
barcode
object
示例:null
必填
sn
string
示例:P5873788904525
必填
price
string
示例:1111.00
必填
costprice
string
示例:0.00
必填
mktprice
string
示例:0.00
必填
marketable
number
示例:1
必填
stock
number
示例:111
必填
freeze_stock
number
示例:0
必填
spes_desc
object
示例:null
必填
is_defalut
number
示例:1
必填
isdel
object
示例:null
必填
integral_price
string
示例:0.00
必填
freight
object
示例:null
必填
add_integral_price
string
示例:0
必填
name
string
示例:阿斯顿发
必填
image_id
string
示例:92521ca60b2d8f656c44f62ee8e9ac52
必填
bn
string
示例:HYS87378890
必填
image_path
string
示例:http://www.sjzysdz.com/static/uploads/images//3c/c9/0e/5e9680a24efaa.png
必填
grade_price
array
数据列表
必填
grade_info
object
数据字典
必填
id
string
示例:
必填
default_spes_desc
array
数据列表
必填
0
object
数据字典
必填
name
boolean
示例:false
必填
is_default
boolean
示例:true
必填
amount
string
示例:1111.00
必填
promotion_list
array
数据列表
必填
promotion_amount
number
示例:0
必填
album
array
数据列表
必填
isfav
string
示例:false
必填