初始提交:人事共享服务中心钉钉登录功能

This commit is contained in:
zsc
2026-05-16 11:15:24 +08:00
commit 7ba21d6413
23 changed files with 1770 additions and 0 deletions

21
start.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
echo "正在启动人事共享服务中心'码'上办..."
# 检查Python环境
if ! command -v python3 &> /dev/null; then
echo "错误: 未找到Python3请先安装Python"
exit 1
fi
# 安装依赖
echo "检查依赖..."
pip3 install -r requirements.txt --quiet
# 初始化数据库
echo "初始化数据库..."
python3 init_db.py
# 启动服务
echo "启动服务..."
python3 run.py