SpringBoot实现增删改查 实现新增 UserController @RestController @RequestMapping("/user") public class UserController { @Autowired private UserMapper userMapper; @PostMapping ...
项目实践
Springboot后台管理系统_Spring集成Mybatis实现数据查询
spring集成Mybatis实现数据查询 配置文件更新application.yml server: port: 9091 spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/vue?serve...
Springboot后台管理系统_SpringBoot框架搭建
SpringBoot框架搭建 新建项目———添加依赖项 项目的配置文件 server.port=9090 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/vue?serverT...
Springboot后台管理系统_Vue页面主体布局完善
vue页面主体布局完善 global.css *{ margin: 0; padding: 0; box-sizing: border-box; } html,body{ height: 100%; } .ml-5{ margin-left: 5px; } .mr-5{ margin-right: 5px; } .pd-10...
Springboot后台管理系统_Vue后台整体布局完善
vue后台整体布局完善 global.css *{ margin: 0; padding: 0; box-sizing: border-box; } html,body{ height: 100%; } home.vue <template> <!-- <div style="height: 100%&q...
Springboot后台管理系统_Vue后台主体框架搭建
vue后台主体框架搭建 下载elementUI npm i element-ui -S elementUI文档-快速上手 home.vue <template> <div style="height: 100%"> <el-container style="height: 100%;&qu...
Springboot后台管理系统_Vue2集成ElementUI
软件版本 jdk1.8 mysql5.7+ node14.16.0 navicat idea2021.3 创建一个项目 vue create hello-world 创建成功 运行vue项目 cd vue npm run serve
Python项目_数据可视化
mpl_squares.py import matplotlib.pyplot as plt input_value = [1, 2, 3, 4, 5] squares = [1, 4, 9, 16, 25] # 尝试根据这些数字绘制出有意义的图形 # lineheight决定了plot()绘制的线条粗细 plt.plot(input_...
Python项目_外星人入侵
alien.py import pygame from pygame.sprite import Sprite class Alien(Sprite): # 表示单个外星人的类 def __init__(self, ai_setting, screen): super(Alien, self).__init__() self...