文档
测试

购物前的校验

GET
http://test.ssib.gzncloud.com/api/face/score/purchaseOpen

接口描述

在开门之前的校验,判断用户是否有未支付订单,验证设备是否有人正在购物和设备状态,获取连接ws的token认证,获取设备售卖商品信息

请求参数

参数名
类型
描述
必填
deviceNo
Integer
设备编号
必填
cabinetNo
Integer
货柜编号
必填
tradeNo
String
订单号
必填
openId
String
消费者id
必填
isMember
boolean
是否是会员
必填

响应参数

参数名
类型
描述
必填
token
String
连接ws认证参数
必填
onSaleList
ArrayList
货柜商品清单
必填
id
Integer
商品id
必填
name
String
商品名称
必填
goodsTypeId
Integer
商品类型id
必填
aisleGoodsId
Long
货道商品id
必填
aisleId
Integer
货道id
必填
aisleNo
Integer
货道编号
必填
typeName
String
商品类型名称
必填
isBulk
String
称重 1 单位 元/斤 * 计件 0 单位 元/件
必填
thumbImage
String
商品图片路径
必填
actualPrice
BigDecimal
商品实际价格 折后价格 价格为元/件 元/斤
必填
memberPrice
BigDecimal
会员价
必填
nonMemberPrice
BigDecimal
非会员价
必填
price
BigDecimal
商品原价 商品本来价格 价格为元/件 元/斤
必填
quantityUnit
String
数量单位
必填
quantityType
String
数量类型 重量/数量
必填
priceUnit
String
价格单位
必填
hasPromotionDiscount
boolean
是否有限时折扣优惠 true有
必填
hasMemberPromotionDiscount
boolean
是否有会员限时折扣优惠 true有
必填
deviceNo
Integer
设备编号
必填
deptId
Integer
商家id
必填