Authored by qianjun

Update product_query.md

#17、批量获取总仓可卖库存
请求地址:http://192.168.10.131:8082/erp-gateway-web/stock/get_batch_center_stock
请求参数报文(放在HTTP体中使用POST方式进行传递):
{"productSkuList": [326432,326430]}
响应报文格式:
{"alg": "SALT_MD5", "code": 200,"data": [{"productSku": 326432,"remnantNum": 40},{"productSku": 326430,"remnantNum": 0}],"md5": "842f09b57de0b71e6b47ff0a1ba9d813","message": "SUCCESS"}
参数说明:remnantNum:总仓可卖库存数量
# remnantNum:总仓可卖库存数量
#21、批量获取全部可卖库存
请求地址:http://192.168.10.131:8082/erp-gateway-web/stock/get_batch_stock
请求参数报文:{"productSkuList":[164164,166920],"storehouseId":12} 放在HTTP体中使用POST方式进行传递
响应报文格式:{"alg":"SALT_MD5","code":200,"data":[{"localRemnantNum":5,"productSku":164164,"storehouseId":12,"totalRemnantNum":10},{"localRemnantNum":5,"productSku":166920,"storehouseId":12,"totalRemnantNum":10}],"md5":"65d4126dc9958d82b61054549cc60b04","message":"SUCCESS"}
localRemnantNum:本店可售库存
totalRemnantNum:线上全部可售库存(包括总仓和各个线下店)
# localRemnantNum:本店可售库存
# 线下店获取门店可售商品列表 #
原入口:platform/PurchaseAllocationController/storeSaleProductDetailList
... ...