扫码入库
~~~[api]
post:http://mlyz.data.cuci.cc/index.php/api/vone/depotapi/addstock
*sessionid=e796e7721664378e120cc5239e70e18c6867818e#登录的sessionid
*string:number=12345678#入库单号
*int:id=10#商品id
*string:spec=颜色:红色,尺寸:XL#商品规格
*string:code=["1000000001","1000000002"]#产品码(json)
<<<
入库成功
{
"code": "SUCCESS",
"msg": "入库成功!",
"data": []
}
<<<
关联的数码已绑定
{
"code": "ERROR",
"msg": "数码1000000001或相关联的数码已绑定商品!",
"data": []
}
<<<
不能同时扫入相关联的码
{
"code": "ERROR",
"msg": "不能同时扫入相关联的码:1000000004",
"data": []
}
~~~