# serialData **Repository Path**: xiayingjie/serialData ## Basic Information - **Project Name**: serialData - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-01 - **Last Updated**: 2021-04-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 项目使用spring boot 开发 数据库使用h2 项目启动配置 1.修改相关配置文件application.properties 指定日志存放路径 logging.file.path=/opt/ 修改数据库地址 file后面是数据库绝对路径 spring.datasource.url=jdbc:h2:file:/opt/db/h2 2.启动项目 SerialportApplication 执行此类的main方法 3.访问 http://localhost:8080/serial/list 查询所有的的数据 http://localhost:8080/serial/del?id=1 删除指定记录 http://localhost:8080/serial/save?mainData=1&data1=22 增加记录 访问数据库地址 http://localhost:8080/h2-console 账号密码 sa/password