配方增补:账号级店铺盘点(/api/userIn.json shopMap)——shopee 0 家,与页下拉为空互相印证

This commit is contained in:
agent committed 2026-09-30 16:46:14 +08:00
1 parent b54e9063f1
commit eab9ec1213
3 files changed
+44

No files matched your search

+16
View File
@@ -49,3 +49,19 @@
同一轮预检里 **Mercado / Shopify / Amazon 路由也拿不到店铺下拉**(`no-dropdown` / 无该字段),
**TikTok 有 10 家店、速卖通有 10 家店**。→ **每轮批量前先跑 `preflight-shops.mjs`**,
不要等到填完一屏才在保存时发现没有店铺。预检结果落 `/tmp/shop-preflight.json`。
## 附:账号级证据(2026-09-30 实测,一次接口)
`GET /api/userIn.json` → `data.shopMap`(key=shopId,value 含 `platform`):
```
256 家店 → smt:61 tiktok:98 tiktokGlobal:24 aliChoice:65 ozon:5 walmart:3
```
**没有任何 `shopee`/`shopeeGlobal` 店铺** —— 与 Shopee 建listing 页「商家账号」下拉「暂无数据」完全一致。
即:**当前登录(子账号 ejetZhangjiafen)在账号层面就没有 Shopee 店铺**,
而 playbook 历史记录里 Shopee `Ljbgkj` 47 条进待发布是在**当时可见该店铺的登录态**下完成的
→ 结论仍是「授权异常/范围变化」,需**主账号**处理。
用 `platform-shared/dxm-add-lib.mjs` 的 `readAccountShops(c)` 一行拿到全平台店铺数。
★ 注意页面下拉只是子集(速卖通页 10 家 vs 账号 61 家)。