【新增】天猫超市商品下载同步

【修复】天猫超市发货问题
【修复】采购单单号因含特殊字符导致入库或取消失败
【修复】售后批量操作设置显示不正确
This commit is contained in:
chenping
2026-04-21 23:42:49 +08:00
parent b20d422532
commit e3d3593fdd
34 changed files with 297 additions and 251 deletions

View File

@@ -65,9 +65,15 @@ class inventorydepth_shop_maochao_skus {
$sdf['page'] = $offset;
$sdf['page_size'] = $limit;
$rs = kernel::single('erpapi_router_request')->set('shop',$shop_id)->product_skuAllGet($sdf);
if(empty($rs['data'])) {
if(empty($rs['data']) && $sdf['page'] != 1) {
break;
}
if ($rs['scroll_id']) {
$sdf['scroll_id'] = $rs['scroll_id'];
}
$data = [];
foreach ($rs['data'] as $item) {
$tmp = array(