Initial commit: 风影 OA 全栈源码(API/Web/Flutter/IM)

含 Phase 1.1 IM seq 排序、断线重连、多端已读同步与微信式语音转文字 UI。
排除 node_modules、构建产物、安装包与 .env 密钥。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-02 10:04:03 +00:00
commit 76f266645d
507 changed files with 99891 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
APK="$ROOT/build/app/outputs/flutter-apk/app-release.apk"
DEST_DIR="${OA_RELEASE_DIR:-/opt/apps/native/dist}"
DEST="$DEST_DIR/fengying-oa.apk"
if [[ ! -f "$APK" ]]; then
echo "先执行 flutter build apk --release" >&2
exit 1
fi
mkdir -p "$DEST_DIR"
cp -f "$APK" "$DEST"
chmod 644 "$DEST"
if [[ -d /opt/apps/web/dist ]]; then
cp -f "$APK" /opt/apps/web/dist/fengying-oa.apk
fi
echo "已发布 $DEST"
echo "请确认 GET https://oa.fysxkj.com/fengying-oa.apk 可下载,并到系统设置 · 手机端升级登记 build。"