@@ -40,6 +40,7 @@ log "构建后端..."
cd "$PROJECT_DIR/server"
npm install 2>&1 | tee -a "$DEPLOY_LOG"
npm run build 2>&1 | tee -a "$DEPLOY_LOG"
+cp src/config/models.json dist/config/models.json 2>&1 | tee -a "$DEPLOY_LOG"
# 重启后端服务
log "重启后端服务..."