feat: 快麦 ERP 适配器新增稳定版本 1.0.2 - #9
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
369431已登记,无变更)369431.kuaimai-erp已登记,无变更)369431.kuaimai-erp1.0.2版本说明(修复 1.0.1 回归)
orders.write原生推送收窄为仅退款订单后,普通订单的商品显示退化为桌面端合并格式(名称 ×N单行),查无订单的「此单号不在系统中」播报不再触发。1.0.2 恢复将全部已找到订单(含查无订单合成件)推送到原生订单缓存:商品按适配器格式逐行显示(单件不附×1,多件显示×N),查无订单可靠播报「此单号不在系统中,请核实再发」scan-tasks.read、scan-results.write、orders.write;order.lookup、refund.lookup;无系统访问声明验证记录(作者侧)
node tools/cli.mjs update --extension 369431.kuaimai-erp:自动生成versions/1.0.2.json,大小 23701 字节d349fda3ef67d6bb6569d47e582154aa81f458be22c2c9b38e9bb865278382a0,与本地ppext pack产物及 GitHub Release(v1.0.2,tag 提交 c47184b)下载件逐字节一致npm test:21 项全部通过;npm run validate:通过;npm run generate:registry 可由源数据生成(本 PR 不包含registry/生成物)payload/下:npm test20 项全部通过(新增全量推送与合成件推送的用例)审核记录
payload/src/providers/kuaimai.js推送逻辑与文案、adapter-core.js默认文案、版本号).ppext字节一致(仅提供 GitHub 单源,不适用)npm test、npm run validate与 registry 生成检查通过npm run check补充说明
update命令自动生成并核对,未手工修改大小、SHA-256 或下载地址。not_found)只做数据入库,不再触发显示/播报;显示与播报完全依赖orders.write原生订单推送。1.0.1 的「仅退款推送」策略在该版本桌面端上会导致普通订单显示格式退化、查无订单无播报,本版本因此恢复全量推送。registry/生成物。