spring boot
程序员文章站
2022-03-04 13:54:03
...
- pom.xml
spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql:///pinyougoudb?serverTimezone=UTC
username: root
password: 123456
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: Asia/Chongqing
mvc:
view:
prefix: /
suffix: .html
server:
port: 8080
servlet:
- application.yml
spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql:///pinyougoudb?serverTimezone=UTC
username: root
password: 123456
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: Asia/Chongqing
mvc:
view:
prefix: /
suffix: .html
server:
port: 8080
- 创建类/html
- 导入
$.ajax({
url: "validata?id=" + str, success: function (result) {
if(result > 0){
$.post("add",{ids:str},function(obj){
alert("添加成功");
window.location.href='catList';
})
}else{
alert("没有库存");
}
}
});
上一篇: 创建文件和文件夹
下一篇: Spring Boot