From 311fa087c65dfc81dadedd53e8af858696ada448 Mon Sep 17 00:00:00 2001 From: fansili Date: Fri, 8 May 2020 10:32:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=20response=20=E5=92=8C=20request=20=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rest/controller/user/UsersUserAddressController.java | 6 +++--- .../iocoder/mall/user/rest/convert/UserAddressConvert.java | 6 +++--- .../user/rest/request/{ => user}/UserAddressAddRequest.java | 2 +- .../rest/request/{ => user}/UserAddressUpdateRequest.java | 2 +- .../user/rest/response/{ => user}/UserAddressResponse.java | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) rename user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/{ => user}/UserAddressAddRequest.java (94%) rename user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/{ => user}/UserAddressUpdateRequest.java (95%) rename user/user-rest/src/main/java/cn/iocoder/mall/user/rest/response/{ => user}/UserAddressResponse.java (94%) diff --git a/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/controller/user/UsersUserAddressController.java b/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/controller/user/UsersUserAddressController.java index 690a164c2..dcd2edc85 100644 --- a/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/controller/user/UsersUserAddressController.java +++ b/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/controller/user/UsersUserAddressController.java @@ -6,9 +6,9 @@ import cn.iocoder.mall.user.biz.dto.user.UserAddressAddDTO; import cn.iocoder.mall.user.biz.dto.user.UserAddressUpdateDTO; import cn.iocoder.mall.user.biz.service.user.UserAddressService; import cn.iocoder.mall.user.rest.convert.UserAddressConvert; -import cn.iocoder.mall.user.rest.request.UserAddressAddRequest; -import cn.iocoder.mall.user.rest.request.UserAddressUpdateRequest; -import cn.iocoder.mall.user.rest.response.UserAddressResponse; +import cn.iocoder.mall.user.rest.request.user.UserAddressAddRequest; +import cn.iocoder.mall.user.rest.request.user.UserAddressUpdateRequest; +import cn.iocoder.mall.user.rest.response.user.UserAddressResponse; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; diff --git a/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/convert/UserAddressConvert.java b/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/convert/UserAddressConvert.java index 1a511e03b..b83de1f31 100644 --- a/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/convert/UserAddressConvert.java +++ b/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/convert/UserAddressConvert.java @@ -3,9 +3,9 @@ package cn.iocoder.mall.user.rest.convert; import cn.iocoder.mall.user.biz.bo.user.UserAddressBO; import cn.iocoder.mall.user.biz.dto.user.UserAddressAddDTO; import cn.iocoder.mall.user.biz.dto.user.UserAddressUpdateDTO; -import cn.iocoder.mall.user.rest.request.UserAddressAddRequest; -import cn.iocoder.mall.user.rest.request.UserAddressUpdateRequest; -import cn.iocoder.mall.user.rest.response.UserAddressResponse; +import cn.iocoder.mall.user.rest.request.user.UserAddressAddRequest; +import cn.iocoder.mall.user.rest.request.user.UserAddressUpdateRequest; +import cn.iocoder.mall.user.rest.response.user.UserAddressResponse; import org.mapstruct.Mapper; import org.mapstruct.Mappings; import org.mapstruct.factory.Mappers; diff --git a/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/UserAddressAddRequest.java b/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/user/UserAddressAddRequest.java similarity index 94% rename from user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/UserAddressAddRequest.java rename to user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/user/UserAddressAddRequest.java index 4a886c15a..05353b9f0 100644 --- a/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/UserAddressAddRequest.java +++ b/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/user/UserAddressAddRequest.java @@ -1,4 +1,4 @@ -package cn.iocoder.mall.user.rest.request; +package cn.iocoder.mall.user.rest.request.user; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; diff --git a/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/UserAddressUpdateRequest.java b/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/user/UserAddressUpdateRequest.java similarity index 95% rename from user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/UserAddressUpdateRequest.java rename to user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/user/UserAddressUpdateRequest.java index d9d17ff80..e443db1a7 100644 --- a/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/UserAddressUpdateRequest.java +++ b/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/request/user/UserAddressUpdateRequest.java @@ -1,4 +1,4 @@ -package cn.iocoder.mall.user.rest.request; +package cn.iocoder.mall.user.rest.request.user; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; diff --git a/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/response/UserAddressResponse.java b/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/response/user/UserAddressResponse.java similarity index 94% rename from user/user-rest/src/main/java/cn/iocoder/mall/user/rest/response/UserAddressResponse.java rename to user/user-rest/src/main/java/cn/iocoder/mall/user/rest/response/user/UserAddressResponse.java index 5430da824..0de88b4cd 100644 --- a/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/response/UserAddressResponse.java +++ b/user/user-rest/src/main/java/cn/iocoder/mall/user/rest/response/user/UserAddressResponse.java @@ -1,4 +1,4 @@ -package cn.iocoder.mall.user.rest.response; +package cn.iocoder.mall.user.rest.response.user; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty;