Initial commit: MSH System\n\n- msh_single_uniapp: Vue 2 + UniApp 前端(微信小程序/H5/App/支付宝小程序)\n- msh_crmeb_22: Spring Boot 2.2 后端(C端API/管理端/业务逻辑)\n- models-integration: AI服务集成(Coze/KieAI/腾讯ASR)\n- docs: 产品文档与设计稿

This commit is contained in:
2026-02-28 05:40:21 +08:00
commit 14d29d51c0
2182 changed files with 482509 additions and 0 deletions

43
models-integration/start.sh Executable file
View File

@@ -0,0 +1,43 @@
#!/bin/bash
# 启动销帮帮API集成应用
# 支持多数据库切换和HikariCP连接池
# 检查参数
if [ "$1" != "postgresql" ] && [ "$1" != "mysql" ]; then
echo "用法: ./start.sh [postgresql|mysql]"
echo "例如: ./start.sh postgresql"
exit 1
fi
echo "启动销帮帮API集成应用..."
echo "检查Java环境..."
if ! command -v java &> /dev/null
then
echo "未找到Java环境请先安装Java 8或更高版本"
exit 1
fi
echo "检查Maven环境..."
if ! command -v mvn &> /dev/null
then
echo "未找到Maven环境请先安装Maven"
exit 1
fi
echo "编译项目..."
mvn clean compile
if [ $? -ne 0 ]; then
echo "项目编译失败"
exit 1
fi
echo "启动应用..."
echo "访问Swagger UI文档: http://localhost:5080/swagger-ui.html"
echo "多数据库测试接口: http://localhost:5080/test/database/config"
echo "HikariCP测试接口: http://localhost:5080/test/hikaricp/connection"
echo "使用$1数据库启动..."
mvn spring-boot:run -Dspring-boot.run.profiles=$1