liufumingren
|
731bc8e9fb
|
feat(system): 新增 getWarehousePanelData 仓库面板数据接口(增量缓存返回),平台白名单补 tv
|
2026-10-10 04:45:14 +08:00 |
|
liufumingren
|
943c096c5a
|
feat(index): 新增客户端错误日志上报接口 uploadClientErrorLog(建表 wms_client_error_log)
新增免登录/免权限/免鉴权的设备端运行时错误批量上报接口,保留系统日志:
- 建表迁移 database/migrations/20260925100000-create-wms-client-error-log.js(wms_client_error_log,uk_report_uuid 唯一索引幂等去重)
- 新增模型 app/model/client_error_log.js 与服务 app/service/systems/client_error_log.js(三种入参形态、字段归一化与长度截断、report_uuid 幂等;bulkCreate 用 validate:false 修复时间戳注入引发的 notNull 写入失败)
- systemMethods/index.js 新增 uploadClientErrorLog 出口并登记 _noNeedLogin/_noNeedRight/_noNeedAuth;_noNeedLog 由 '*' 改为显式清单 INDEX_NO_NEED_LOG_METHODS
- 文档同步:methods/system.json 版本升至 0.3.190、methods/changes/system.json 新增变更记录、AI_METHOD_ROUTING.md 补充 5.9 能力速查并同步第 6 节方法清单
- 测试:32 个服务层用例与 18 个 HTTP 回归用例通过(test/ 与 test_reports/ 按 .gitignore 约定不入库)
|
2026-09-25 03:14:15 +08:00 |
|
liufumingren
|
258232f98d
|
feat(wechat): 微信开放平台第三方平台接入:授权事件回调、加解密、OpenAPI 客户端、oauth 登录态中间层与工牌扫码
|
2026-09-23 02:46:28 +08:00 |
|
liufumingren
|
6939d9600a
|
feat: 拦截链路完善与车绑定修复
- 订单表新增 intercept_time 拦截时间字段(迁移覆盖基表与全部分表),全拦截链路写入拦截时间、解除拦截清空
- 新增自动库内拦截确定定时任务(1h 间隔,扫描 requested+未打印订单,超时自动库内拦截确定)
- 复核链路自动移除波次内未打印拦截订单回池,拦截解除后可重新抓取发货
- 打印解绑车判定排除拦截订单,修复波次含拦截订单时车无法解锁
- 同步 methods 文档与变更记录;含 wave_scope 回填、workbench token 过期等前序迁移
|
2026-09-07 03:48:43 +08:00 |
|
liufumingren
|
bc0d62d297
|
feat(workbench): 工作台绑定码登录,新增 login_code/token 字段与索引,扫码绑定生成 token,token 免登录获取工作台信息,敏感字段查询脱敏
|
2026-09-03 17:03:30 +08:00 |
|
liufumingren
|
fe97adfda2
|
feat(space): 批量库位搜索 searchSpaces
- space.js 抽取 _searchByKeyword, searchSpace 与 searchSpaces 共用同一查询口径
- searchSpaces 按 keywords 并行查询并保持传入顺序, 无记录项返回空数组
- index.searchSpaces 加入免权限/免鉴权白名单
|
2026-08-21 02:20:43 +08:00 |
|
liufumingren
|
b436b6dd9e
|
feat: 拦截链路全流程完善 — 新增interceptScan + 运单表同步 + 工单通知
新增:
- order.recheckOrder.interceptScan: 拦截扫描接口,入参运单号,查express标记退回,处理工单,更新订单拦截状态
- afterSale.createInterceptWorkOrdersAndNotify: 共享方法,幂等创建工单+通知快递群
修复:
- confirmIntercept: 补运单is_back同步(仅限is_intercept=Y),补工单创建+通知
- batchIntercept: 补运单is_intercept同步,补工单创建+通知
- batchUnintercept: 补运单is_intercept/is_back清除
- Qimen/OpenAPI cancel: 补运单is_intercept同步,补工单创建+通知
- interceptScan: 删除死查询,加空指针兜底
文档:
- methods/system.json: interceptScan + confirmIntercept 完整API文档
- methods/changes/system.json: 变更记录
|
2026-08-12 20:47:19 +08:00 |
|
liufumingren
|
35c71e13c4
|
feat(inbox): 群列表字段优化、where查询支持、快递接口加载及时间格式化
inbox.group.list 优化:
- 移除 warehouse_id 返回字段
- 新增 store_name(StoreWarehouse.store_remask)
- express_interfaces 改为 {id,name} 对象数组
- 新增 system_express_name(wms_express.name)
- created_at/updated_at 使用 app.formatDate 格式化
- 支持 pagination 对象 + where 结构化查询(parseWhereConditions)
- keyword 虚拟字段映射为 group_name LIKE
- groupType 驼峰映射为 group_type
- 增加 specialFieldMap 声明合法字段
新增 index.loadExpressInterfaces:
- 参考 loadStores 模式,拉取仓库下快递接口下拉列表
- 支持 systemExpressCode 入参过滤
- systemMethods/index.js 注册 + methods/system.json 文档
其他:
- delivery_order_code + store_id 联合索引迁移
|
2026-08-08 01:58:06 +08:00 |
|
liufumingren
|
da56253d4a
|
feat(shops): 店铺视频号授权支持 + 部署优化
- shops.js: 视频号授权需传 appId/toUserName,新增授权请求/响应调试缓存
- index.js: SPH 运单查询添加调试缓存
- deploy-remote.cjs: 健康检查优化(30次→5次/10s),失败自动回滚 current.md
- config.default.js: 数据库连接池 20→225
|
2026-08-01 03:45:26 +08:00 |
|
liufumingren
|
888d026145
|
feat(shop/store): 店铺管理增强 + 门店仓库加载
- shops: 支持修改 shop_name + 删除店铺查询改用 Op.notLike 前缀过滤
- store: loadStores 增加 Store 关联查 company_name 作为 label fallback
- store: 新增 loadWarehouses(货主侧加载可用仓库)
- index: 注册 loadWarehouses 权限
|
2026-07-27 03:48:26 +08:00 |
|
liufumingren
|
5d7964132e
|
1
|
2026-07-03 16:56:39 +08:00 |
|
liufumingren
|
5ef99e3bed
|
1
|
2026-07-01 14:00:59 +08:00 |
|
liufumingren
|
99367e5043
|
1
|
2026-06-06 05:15:46 +08:00 |
|
liufumingren
|
4beefcd22c
|
feat(print,docs,migrations): add notifyLock, order export, express fields and related docs
notifyLock method + logs
print.send logs
order export methods + docs
express model fields SPH/XHS/DW/JD + migration
platform_shop_id migration
notifyLock docs
order export docs
|
2026-05-30 17:30:17 +08:00 |
|
liufumingren
|
abf2c4d94a
|
1
|
2026-05-29 16:47:38 +08:00 |
|
liufumingren
|
dc4894cb6d
|
1
|
2026-05-25 17:08:56 +08:00 |
|
liufumingren
|
150e2977d4
|
修改快递接口配置,拼多多取号,未完成
|
2026-05-22 08:39:07 +08:00 |
|
liufumingren
|
9b2cc5fc73
|
fix(receiving): 修复获取收货单时重复定义属性的问题
|
2026-05-06 01:32:55 +08:00 |
|
liufumingren
|
5ce689d771
|
1
Co-authored-by: Copilot <copilot@github.com>
|
2026-04-30 19:20:31 +08:00 |
|
liufumingren
|
b7f980188f
|
1
Co-authored-by: Copilot <copilot@github.com>
|
2026-04-29 17:43:54 +08:00 |
|
liufumingren
|
0ffe290a21
|
chore: commit all current workspace changes
|
2026-04-27 16:09:26 +08:00 |
|
liufumingren
|
622869787a
|
feat: sync workspace changes
|
2026-04-17 19:21:57 +08:00 |
|
liufumingren
|
e73a311076
|
ok
|
2026-04-11 17:09:06 +08:00 |
|
liufumingren
|
57f1f44bae
|
feat: sync wms updates
|
2026-04-09 15:45:14 +08:00 |
|
liufumingren
|
3d824a3a1d
|
chore: sync lint and service fixes
|
2026-04-09 01:36:49 +08:00 |
|
liufumingren
|
e590808062
|
feat: update receiving notification and report flow
|
2026-04-05 21:45:18 +08:00 |
|
liufumingren
|
920d201c0e
|
feat: refine setting role/account/permission auth and tests
|
2026-04-05 09:03:50 +08:00 |
|
|
|
63b4536766
|
chore: initialize wms project
|
2026-03-16 14:01:22 +08:00 |
|