From e590bda78207fc430a2b37bb5490047ff007e553 Mon Sep 17 00:00:00 2001 From: liqiangqiang Date: Tue, 10 Apr 2018 11:08:42 +0800 Subject: [PATCH] =?UTF-8?q?WebFlux=20=E5=BF=AB=E9=80=9F=E5=85=A5=E9=97=A8?= =?UTF-8?q?=E5=AE=9E=E8=B7=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- springboot-webflux-1-quickstart/pom.xml | 77 +++++++++++-------- .../org/spring/springboot/domain/City.java | 61 --------------- 2 files changed, 43 insertions(+), 95 deletions(-) delete mode 100644 springboot-webflux-1-quickstart/src/main/java/org/spring/springboot/domain/City.java diff --git a/springboot-webflux-1-quickstart/pom.xml b/springboot-webflux-1-quickstart/pom.xml index 64eea95..6e82485 100755 --- a/springboot-webflux-1-quickstart/pom.xml +++ b/springboot-webflux-1-quickstart/pom.xml @@ -1,41 +1,50 @@ - 4.0.0 + 4.0.0 - springboot - springboot-webflux-1-quickstart - 0.0.1-SNAPSHOT - springboot-webflux-1-quickstart :: Spring Boot WebFlux 快速入门 + springboot + springboot-webflux-1-quickstart + 0.0.1-SNAPSHOT + springboot-webflux-1-quickstart :: Spring Boot WebFlux 快速入门 - - + + org.springframework.boot + spring-boot-starter-parent + 2.0.1.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter-webflux + + + + org.springframework.boot + spring-boot-starter-test + test + + + io.projectreactor + reactor-test + test + + + + + + org.springframework.boot - spring-boot-starter-parent - 2.0.1.RELEASE - - - - - - - org.springframework.boot - spring-boot-starter-webflux - - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - junit - junit - 4.12 - - - + spring-boot-maven-plugin + + + diff --git a/springboot-webflux-1-quickstart/src/main/java/org/spring/springboot/domain/City.java b/springboot-webflux-1-quickstart/src/main/java/org/spring/springboot/domain/City.java deleted file mode 100644 index 598af6d..0000000 --- a/springboot-webflux-1-quickstart/src/main/java/org/spring/springboot/domain/City.java +++ /dev/null @@ -1,61 +0,0 @@ -package org.spring.springboot.domain; - -/** - * 城市实体类 - * - * Created by bysocket on 09/29/2017. - */ -public class City { - - /** - * 城市编号 - */ - private Long id; - - /** - * 省份编号 - */ - private Long provinceId; - - /** - * 城市名称 - */ - private String cityName; - - /** - * 描述 - */ - private String description; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProvinceId() { - return provinceId; - } - - public void setProvinceId(Long provinceId) { - this.provinceId = provinceId; - } - - public String getCityName() { - return cityName; - } - - public void setCityName(String cityName) { - this.cityName = cityName; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } -}