本项目是使用 Spring Boot3 + Vue3 + MySQL + 微信小程序 + ECharts 框架开发的一套高血压助手小程序和智能后台管理系统。 小程序端主要功能有:
- 后端框架
- SpringBoot
- mybatis
- hutool
- aliyun oss
- jwt
- 数据库
- MySql
- 前端框架
- Vue
- ElementUI
- Vue-Router
- Axios
- ECharts
- 微信小程序
-
安装 Java JDK 17 并配置环境变量
-
安装 MySQL8.0、Redis 数据库并创建相应数据库
- 创建 MySQL 数据库与表: 运行 mysql.sql
-
安装 Maven 构建工具
-
克隆项目到本地
git clone https://github.com/ScholarChen20/tliasWeb.git -
修改配置文件 application.yml
spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/数据库名 username: mysql用户账号 password: mysql用户密码 mybatis: mapper-locations: classpath:mapper/*.xml #配置mapper文件位置 configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #日志输出到控制台 map-underscore-to-camel-case: true #驼峰命名规则 server: port: 8080 aliyun: #阿里云配置,用于文件上传 oss: endpoint: https://oss-cn-beijing.aliyuncs.com #oss域名 bucketName: xxxxx #bucket名称 region: xxxxx #域名 wx: #微信配置 appId: xxxxx #微信公众号appid appSecret: xxxxx #微信公众号appsecret
-
配置node.js运行前端框架,前端代码为vue-tlias-management文件夹,安装相应的插件配置即可
-
配置微信小程序,小程序代码为mp-HBP文件夹,修改yml文件中的appid和secret即可
-
修改配置文件 logback.xml,替换成自己修改的日志保存地址
<FileNamePattern>D:/JavaEnv/JavaPro/Web-Ai/tlias-%d{yyyy-MM-dd}-%i.log</FileNamePattern> -
运行SpringBoot框架和前端界面即可
-
血压助手小程序展示
- 后台系统展示
npm install
npm run serve
npm run build




















