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
|
9b1f656790
|
feat: notify.reply 支持 extend_props.do 动作(openDoor / registerLicensePlate)
入站通知新增两条相互独立的处理线:文本回复 + 动作指令。
- content trim 后为空(含纯空白)→ 不对外发送,并跳过 IM 通道在线检测,
避免纯动作请求被 503 拒绝、WMS 反复重试;ext_id 幂等去重仍生效。
- extend_props.do 映射到 notify/action/ 下的动作类(大小写不敏感),
extend_props.value 为泛类型入参(字符串/数字/布尔/对象/数组/JSON/null)。
- 新增 openDoor:Redis db2 写 {WAREHOUSEID}_channelNum{N}(TTL 300s)+ 写 door_log。
- 新增 registerLicensePlate:Redis db7 写 {WAREHOUSEID}_{车牌} NX EX 21600(6 小时临时通行),
与 Chat::daohuo()/tihuo() 同一套机制,入口设备读到即放行并删键。
- 公共能力(Redis 连接、仓库解析、操作人解析、车牌提取)上移到 action/Base,
两个动作共用;仓库解析顺序:value.warehouseId → group_id 反查群 → 默认 5400。
|
2026-09-16 21:10:15 +08:00 |
|
liufumingren
|
5d4e455e3e
|
chore: 停止跟踪 application/extra/site.php(由数据库生成,避免发布覆盖)
site.php 由后台保存配置时从数据库重新生成(Config::refreshFile / shopro Config::refreshFile),
本地这份只是旧快照;发布用 git ls-files 打包 + tar --overwrite,会把服务器上较新的版本覆盖回旧值。
改为不跟踪后,deploy.js / testdeploy.js 自动不再打包该文件,服务器上由数据库生成的最新配置得以保留。
|
2026-09-16 21:10:15 +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
|
e7172b06fa
|
1
|
2026-09-10 15:01:13 +08:00 |
|
liufumingren
|
9b25b43e63
|
1
|
2026-09-10 14:58:24 +08:00 |
|
liufumingren
|
d63dfcfcd7
|
1
|
2026-09-10 14:39:58 +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
|
dd39b4d287
|
api/Wms gzt_bind 增加 error 日志
|
2026-08-28 19:55:57 +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
|
2330b6003f
|
fix(wms): do not escape slashes in JSON serialization for signature compatibility with Node WMS
|
2026-08-15 19:11:58 +08:00 |
|
liufumingren
|
c00708f58c
|
feat: 入站 notify 对接完成(ping/reply + 入站签名算法)
- 新增 notify/PingHandler.php(notify.ping 连通性测试)
- 新增 notify/ReplyHandler.php(notify.reply 消息回复,Redis 幂等 + 推送到 IM)
- Dispatcher 自动注册内置处理器,入站签名改为 MD5(secret+timestamp+bodyJson)
- WmsSign 新增 getAppSecret() 供验签使用
- ReplyHandler 通过 ext_data.source 判断消息来源(wx/qiwe)
|
2026-08-07 22:52:46 +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
|
d617f9ee88
|
1
|
2026-08-07 00:37:41 +08:00 |
|
liufumingren
|
dcc016bf42
|
fix:修复push消息传参
|
2026-08-07 00:33:21 +08:00 |
|
liufumingren
|
efb69dc45e
|
1
|
2026-08-07 00:29:38 +08:00 |
|
liufumingren
|
94fd06c6ab
|
1
|
2026-08-07 00:22:37 +08:00 |
|
liufumingren
|
1f40838320
|
fix: 修复 WMS API 请求格式(query string + timestamp 类型)
- base_url 改为 qimen.wms.gztbyc.com
- query 参数拼入 URL query string(method/timestamp/app_key/sign)
- timestamp 改为整数类型(Unix 秒)
- 移除多余 X-* 自定义 Header
|
2026-08-06 23:38:27 +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
|
8ec39aa20f
|
1
|
2026-08-06 18:05:57 +08:00 |
|
liufumingren
|
61b6d603cd
|
1
|
2026-08-06 17:46:06 +08:00 |
|
liufumingren
|
e8605149c0
|
初始化
|
2026-08-06 17:04:35 +08:00 |
|