ws连接
POST
wss://test.ssib.gzncloud.com/websocket/ssib/replenish
接口描述
补货小程序ws连接
请求参数
参数名
类型
描述
必填
deviceNo
Integer
设备编号
必填
token
String
令牌,开门补货接口返回的令牌
必填
响应参数
参数名
类型
描述
必填
msg
String
必填
success
String
状态结果:“true”/ “false”
必填
code
int
错误码 0成功 ,其他失败
必填
recordId
Integer
补货数据id
必填
id
Integer
商品id
必填
name
String
商品名称
必填
aisleNo
String
货道编号
必填
isBulk
String
称重 1 单位 元/斤 * 计件 0 单位 元/件
必填
thumbImage
String
商品图片路径
必填
storage
Integer
商品数量库存
必填
removeQuantity
Integer
撤货数量
必填
removeQuantityRevise
Integer
撤货数量修正
必填
addQuantity
Integer
补货数量
必填
addQuantityRevise
Integer
补货数量修正
必填
cabinetNo
Integer
货柜编号
必填
salePrice
BigDecimal
销售价
必填
costPrice
BigDecimal
成本价
必填
type
String
type(door:开门,final:补货购物最终列表,failure:失败)表示门的状态。设备会自动推送每次不同的结果
必填