ws连接
POST
wss://test.ssib.gzncloud.com/websocket/ssib/purchase
请求参数
参数名
类型
描述
必填
token
String
令牌
必填
deviceNo
Integer
设备编号
必填
响应参数
参数名
类型
描述
必填
success
String
状态结果:“true”/ “false”
必填
amount
BigDecimal
订单的总金额
必填
tradeNo
String
订单号
必填
isCreditPay
String
是否是免密支付
必填
discounts
ArrayList
优惠列表
必填
createTime
String
订单创建时间
必填
orderInfo
String
手动支付地址
必填
id
Integer
商品id
必填
name
String
商品名称
必填
goodsTypeId
Integer
商品类型id
必填
aisleGoodsId
Long
货道商品id
必填
aisleId
Integer
货道id
必填
aisleNo
Integer
货道编号
必填
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有
必填
quantity
Integer
商品数量
必填
amount
BigDecimal
合计原价格
必填
actualAmount
BigDecimal
合计折后金额
必填
payType
String
微信
必填
type
String
type(door:开门,update:购物中列表,final:购物最终列表,failure:失败)表示门的状态。设备会自动推送每次不同的结果
必填
msg
String
必填