Files
daiyongkang 76f266645d Initial commit: 风影 OA 全栈源码(API/Web/Flutter/IM)
含 Phase 1.1 IM seq 排序、断线重连、多端已读同步与微信式语音转文字 UI。
排除 node_modules、构建产物、安装包与 .env 密钥。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 10:04:03 +00:00

11 lines
450 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# MobileIMSDK TCP 服务端
官方协议:4 字节大端 body 长度 + UTF-8 JSON `Protocal`
- TCP `8901`:客户端登录 / 心跳 / 私聊 / QoS
- HTTP `127.0.0.1:8902``/health` `/online` `/push`(仅本机,OA 推待办/审批)
登录:`loginUserId` = OA 员工 id`loginToken` = OA `accessToken`,服务端调 `GET /auth/me` 校验。
环境变量见同目录 `.env`,生产由 `fengying-im.service` 读取 API 的 `.env`