Open wyixue opened 3 years ago
我看大部分库的是通过请求 https://c0.3.cn/stock 实现的,skuState是上架状态,StockState是库存状态,要叠加判断 但是现在都不好用了,jd现在请求的接口换成了 cd.jd.com, 然不管是哪个,持续请求一会都会出现
2021-08-12 10:59:59,394 ERROR: 查询 100009077483 库存信息发生异常, resp: jQuery7740405({"StockState":33,"area":{"townName":"","provinceName":"北京","cityName":"朝阳区","success":true,"countyName":"三环以内"},"realSkuId":100009077483,"choseSuit":[],"code":1,"err":true,"PopType":0,"ArrivalDate":null,"IsPurchase":false,"StockStateName":"有货","rn":-1}), area非北京,但是返回这个,而且少了skuState,无法实现监控
2021-08-12 10:59:59,394 ERROR: 查询 100009077483 库存信息发生异常, resp: jQuery7740405({"StockState":33,"area":{"townName":"","provinceName":"北京","cityName":"朝阳区","success":true,"countyName":"三环以内"},"realSkuId":100009077483,"choseSuit":[],"code":1,"err":true,"PopType":0,"ArrivalDate":null,"IsPurchase":false,"StockStateName":"有货","rn":-1}),
可以上代理ip
不是ip的问题吧
就是你ip被风控了,只能不停的换ip来解决
我看大部分库的是通过请求 https://c0.3.cn/stock 实现的,skuState是上架状态,StockState是库存状态,要叠加判断 但是现在都不好用了,jd现在请求的接口换成了 cd.jd.com, 然不管是哪个,持续请求一会都会出现
2021-08-12 10:59:59,394 ERROR: 查询 100009077483 库存信息发生异常, resp: jQuery7740405({"StockState":33,"area":{"townName":"","provinceName":"北京","cityName":"朝阳区","success":true,"countyName":"三环以内"},"realSkuId":100009077483,"choseSuit":[],"code":1,"err":true,"PopType":0,"ArrivalDate":null,"IsPurchase":false,"StockStateName":"有货","rn":-1}),
area非北京,但是返回这个,而且少了skuState,无法实现监控