43 Commits

Author SHA1 Message Date
liufumingren
8d56189d4e fix(chat): 修正 preg_match 字符类非法范围导致 PHP 7.4 下报错
[\s-_] 中 - 被当作范围连接符,PCRE2(PHP 7.3+,7.4 更严格)会报
invalid range in character class,导致 getPostNums 的手机号+分机号
过滤规则失效并产生 warning。改为 [\s\-_],语义不变。

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-22 14:05:17 +08:00
liufumingren
2c60b84eb9 取消转发 2026-10-12 17:34:58 +08:00
68df579a82 测试 2026-10-07 15:56:07 +08:00
5993d4850e 散单策略数组边界 2026-10-05 11:50:48 +08:00
615dd6f038 散单去重无效撤销 2026-10-04 20:36:51 +08:00
bf80315e91 抓取散单去重 2026-10-04 00:21:31 +08:00
e92d44c6b3 测试提交 2026-09-29 18:31:09 +08:00
64286c44ff 1 2026-09-29 17:48:15 +08:00
liufumingren
01434b27f8 2 2026-09-29 17:25:42 +08:00
liufumingren
0c6cabb85b 1 2026-09-29 17:23:47 +08:00
liufumingren
66caee7a76 fix:移除空行 2026-09-29 17:19:41 +08:00
1221ed8ef4 增加一个空行 2026-09-29 17:16:45 +08:00
liufumingren
8d8ea6cfc8 fix:修正领料未拣货接口条件判断 2026-09-29 16:38:40 +08:00
liufumingren
2ac785dea9 修正Redis认证密码: 本机连接 auth('qwe2019') 改为 'qwe2019@' 2026-09-26 02:13:02 +08:00
liufumingren
2afd401ddd Redis连接迁移: 47.100.78.112 DB2 用法改连本机 127.0.0.1(qwe2019@/DB15) 2026-09-26 02:12:11 +08:00
liufumingren
6f4b2c46d3 1 2026-09-21 22:16:37 +08:00
liufumingren
a1b5c356ea 1 2026-09-21 18:39:34 +08:00
liufumingren
f0dfb0b156 1 2026-09-21 17:41:51 +08:00
liufumingren
731cd17802 1 2026-09-21 17:40:39 +08:00
liufumingren
0c8b76b479 1 2026-09-21 17:38:36 +08:00
liufumingren
fac4bc321f 1 2026-09-21 17:34:24 +08:00
liufumingren
83dea0260c 1 2026-09-21 17:27:46 +08:00
liufumingren
f57c656369 1 2026-09-21 17:23:25 +08:00
liufumingren
9c88a83a1b 1. 2026-09-21 17:11:27 +08:00
liufumingren
ca919e4a48 feat: Authorization 回调原文(含GET参数)转发到测试环境 2026-09-21 17:03:38 +08:00
liufumingren
ca30f3302b feat: QiweMessage 队列追加入队时间 ts
用于排查 / 按时间清理积压。

- 统一入口 Wms::withQueueTs(),覆盖 toMsgCache 与 AutoCreatePostNum 的 lpush
- Chat::send_group_message() 内联补 ts
- wx 队列 Message 故意不加:其消费端会把整个数组 http_build_query 转发给外部发送接口,
  未验证对方是否忽略未知参数
2026-09-16 22:10:27 +08:00
liufumingren
d289a0757d feat: 车辆进出场伪造 system 消息推送到 WMS
- plateresult 出口/入口识别到车牌后,通过 inbox.push 推送站内信:
  群ID=system、群名=系统、来源=system,内容为 {车牌}离场 / {车牌}进场
- 进场额外附带 extData.allow(是否已放行)与 reason(临时车辆-到货 / 白名单 / 无访问权限)
- 防重锁提前统一获取一次(原逻辑仅在开门群存在时才加锁):
  出口推送、进场推送与开门群消息共用同一个 20 秒锁,避免重复推送或互相吞锁
- requestId 形如 exit:{仓库}:{车牌}:{时间戳},用于 WMS 侧幂等去重
2026-09-16 22:10:27 +08:00
liufumingren
afdcc62459 1 2026-09-16 18:01:29 +08:00
liufumingren
61383c2592 1 2026-09-16 17:59:39 +08:00
liufumingren
878fbc22ef 1 2026-09-10 14:16:37 +08:00
liufumingren
395cfeb14a feat: new_wms_notify reply 支持多用户 @(user_id 数组/分隔字符串) 2026-08-29 06:36:22 +08:00
liufumingren
f35b201810 7001 端口迁移,改为 7071/7072 故障转移发送 2026-08-28 20:00:31 +08:00
liufumingren
42dd50e1ef 1 2026-08-26 14:48:21 +08:00
liufumingren
28933bc391 fix:修正团购打包是否打包 2026-08-26 14:43:59 +08:00
liufumingren
d081846e2f 1 2026-08-22 18:00:47 +08:00
liufumingren
b65b99b94b 1 2026-08-22 17:51:23 +08:00
liufumingren
e177a4771f feat: IM通道在线检测(qiwe新增getProfile/checkOnline,new_wms_notify reply离线返回503) 2026-08-18 00:55:01 +08:00
liufumingren
468b1ecfe9 fix:无methods_name时,默认调用tuijian方法 2026-08-16 18:24:29 +08:00
liufumingren
3d566595e0 feat: 入站通知接口 + 调试日志增强
- 新增 notify/Dispatcher.php 入站分发器(验签+method路由)
- Wms.php 新增 new_wms_notify 统一入站入口
- Forward.php 修正字段映射(groupId/userId 强转字符串,groupName/userName 修正)
- Base.php 调试日志全部改为 error 级别,打印完整请求/响应
- 移除 sourceType 入参
2026-08-07 21:47:34 +08:00
liufumingren
c35ac184ae feat: WMS 开放接口签名 & 消息转发模块
- 新增 extra/wms.php 统一配置(app_key/app_secret/base_url)
- 新增 WmsSign.php 签名工具(canonicalQuery + bodySign + stableStringify)
- 新增 WmsVerify.php 验签工具(恒定时间比较防时序攻击)
- 新增 func/ 目录与远端 API 对应(Index.ping / Store.list / Inbox.push)
- 重构 Forward.php 使用 Inbox.push 转发群聊消息到 WMS 站内信
- Chat.php processMessage 接入 Forward 转发,异常不阻塞原有流程
- 删除冗余 WmsSignConfig.php,配置统一从 config('wms') 读取
- 修复 deploy.js chown/chmod .user.ini 报错
2026-08-06 22:46:30 +08:00
liufumingren
248b8876be 1 2026-08-06 18:06:02 +08:00
liufumingren
61b6d603cd 1 2026-08-06 17:46:06 +08:00
liufumingren
e8605149c0 初始化 2026-08-06 17:04:35 +08:00