1.运行sql脚本,创建数据库及书本表(根据我的实体类建表就可以了,整个项目可直接运行,跨域问题已处理,前后端的端口也已处理) 2.后台代码注意事项 3.前端代码注意事项: generatorConfig.xml、jdbc.properties、application.yml这三个配置文件我就不展示了,有需要的下载我的资源包 以下是后端的代码: Model层:Book package com.zking.spboot.model; public class Book { private Integer id; private String bookname; private Float price; private String booktype; public Book(Integer id, String bookname, Float price, String booktype) { this.id = id; this.bookname = bookname; this.price = price; this.booktype = booktype; } public...