08 2020 档案
摘要:1.添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> <scope>true</s
阅读全文
摘要:1.简单的项目结构 2.在pom.xml中添加plugin <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId>
阅读全文
摘要:1.在idea中创建maven项目 2.在pom.xml中添加依赖 <packaging>pom</packaging> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-pare
阅读全文
摘要:ajax代码: var data = { "name":"aaa", "password":123 }; $.ajax({ url:'/ems/test', data:JSON.stringify(data), type:'post', dataType:"json", contentType:'a
阅读全文