Commit 74faa5a753bd281677af427a4b2331ff13b84962

Authored by Jiang
2 parents e59d841c ce323d7b

Merge branch 'dev' of http://git3.nong12.com/b2c/gateway into dev

Showing 46 changed files with 119 additions and 1268 deletions
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/AddLogisticsLineReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import java.util.List;  
4 -  
5 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
6 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.LineInfo;  
7 -  
8 -/**  
9 - * <B>Description</B> 路线管理-添加路线 <br />  
10 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
11 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
12 - * <B>Company</B> 地利集团  
13 - * @author wujiaqiang  
14 - */  
15 -public class AddLogisticsLineReq extends BaseReq {  
16 -  
17 - /**  
18 - * 店铺id  
19 - */  
20 - private Long shopId;  
21 -  
22 - /**  
23 - * 始发地  
24 - */  
25 - private LineInfo from;  
26 -  
27 - /**  
28 - * 目的地  
29 - */  
30 - private List<LineInfo> to;  
31 -  
32 - public Long getShopId() {  
33 - return shopId;  
34 - }  
35 -  
36 - public void setShopId(Long shopId) {  
37 - this.shopId = shopId;  
38 - }  
39 -  
40 - public LineInfo getFrom() {  
41 - return from;  
42 - }  
43 -  
44 - public void setFrom(LineInfo from) {  
45 - this.from = from;  
46 - }  
47 -  
48 - public List<LineInfo> getTo() {  
49 - return to;  
50 - }  
51 -  
52 - public void setTo(List<LineInfo> to) {  
53 - this.to = to;  
54 - }  
55 -  
56 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/AddLogisticsLineResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -  
5 -/**  
6 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
7 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
8 - * <B>Company</B> 地利集团  
9 - * @createTime 2015年6月9日 下午1:53:00  
10 - * @author wujiaqiang  
11 - */  
12 -public class AddLogisticsLineResp extends BaseResp {  
13 -  
14 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/AddLogisticsVehicleReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.VehicleInfo;  
5 -  
6 -/**  
7 - * <B>Description</B> 车辆管理-添加车辆 <br />  
8 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
9 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
10 - * <B>Company</B> 地利集团  
11 - * @author wujiaqiang  
12 - */  
13 -public class AddLogisticsVehicleReq extends BaseReq {  
14 -  
15 - /**  
16 - * 店铺id  
17 - */  
18 - private Long shopId;  
19 -  
20 - /**  
21 - * 车牌号  
22 - * */  
23 - private String plateNumber;  
24 -  
25 - /**  
26 - * 车型ID  
27 - * */  
28 - private Long modelId;  
29 -  
30 - /**  
31 - * 车型名称  
32 - * */  
33 - private String modelName;  
34 -  
35 - /**  
36 - * 车长  
37 - * */  
38 - private Float length;  
39 -  
40 - /**  
41 - * 载重量  
42 - */  
43 - private Float carryWeight;  
44 -  
45 - /**  
46 - * 行驶证号  
47 - */  
48 - private String vehicleLicenseNumber;  
49 -  
50 - /**  
51 - * 驾驶证号  
52 - */  
53 - private String drivingLicenseNumber;  
54 -  
55 -  
56 - public Long getShopId() {  
57 - return shopId;  
58 - }  
59 -  
60 - public void setShopId(Long shopId) {  
61 - this.shopId = shopId;  
62 - }  
63 -  
64 - public String getPlateNumber() {  
65 - return plateNumber;  
66 - }  
67 -  
68 - public void setPlateNumber(String plateNumber) {  
69 - this.plateNumber = plateNumber;  
70 - }  
71 -  
72 - public Long getModelId() {  
73 - return modelId;  
74 - }  
75 -  
76 - public void setModelId(Long modelId) {  
77 - this.modelId = modelId;  
78 - }  
79 -  
80 - public String getModelName() {  
81 - return modelName;  
82 - }  
83 -  
84 - public void setModelName(String modelName) {  
85 - this.modelName = modelName;  
86 - }  
87 -  
88 - public Float getLength() {  
89 - return length;  
90 - }  
91 -  
92 - public void setLength(Float length) {  
93 - this.length = length;  
94 - }  
95 -  
96 - public Float getCarryWeight() {  
97 - return carryWeight;  
98 - }  
99 -  
100 - public void setCarryWeight(Float carryWeight) {  
101 - this.carryWeight = carryWeight;  
102 - }  
103 -  
104 - public String getVehicleLicenseNumber() {  
105 - return vehicleLicenseNumber;  
106 - }  
107 -  
108 - public void setVehicleLicenseNumber(String vehicleLicenseNumber) {  
109 - this.vehicleLicenseNumber = vehicleLicenseNumber;  
110 - }  
111 -  
112 - public String getDrivingLicenseNumber() {  
113 - return drivingLicenseNumber;  
114 - }  
115 -  
116 - public void setDrivingLicenseNumber(String drivingLicenseNumber) {  
117 - this.drivingLicenseNumber = drivingLicenseNumber;  
118 - }  
119 -  
120 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/AddLogisticsVehicleResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -  
5 -/**  
6 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
7 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
8 - * <B>Company</B> 地利集团  
9 - * @createTime 2015年6月9日 下午1:53:00  
10 - * @author wujiaqiang  
11 - */  
12 -public class AddLogisticsVehicleResp extends BaseResp {  
13 -  
14 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/CancelTopLogisticsLineReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 路线管理-取消置顶线路 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class CancelTopLogisticsLineReq extends BaseReq {  
13 -  
14 - /**  
15 - * 线路id  
16 - */  
17 - private Long id;  
18 -  
19 - public Long getId() {  
20 - return id;  
21 - }  
22 -  
23 - public void setId(Long id) {  
24 - this.id = id;  
25 - }  
26 -  
27 -  
28 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/CancelTopLogisticsLineResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -  
5 -/**  
6 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
7 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
8 - * <B>Company</B> 地利集团  
9 - * @createTime 2015年6月9日 下午1:53:00  
10 - * @author wujiaqiang  
11 - */  
12 -public class CancelTopLogisticsLineResp extends BaseResp {  
13 -  
14 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/CountLogisticsLineReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 路线管理-获取线路条数 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class CountLogisticsLineReq extends BaseReq {  
13 -  
14 - /**  
15 - * 店铺id  
16 - */  
17 - private Long shopId;  
18 -  
19 - public Long getShopId() {  
20 - return shopId;  
21 - }  
22 -  
23 - public void setShopId(Long shopId) {  
24 - this.shopId = shopId;  
25 - }  
26 -  
27 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/CountLogisticsLineResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -  
5 -/**  
6 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
7 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
8 - * <B>Company</B> 地利集团  
9 - * @createTime 2015年6月9日 下午1:53:00  
10 - * @author wujiaqiang  
11 - */  
12 -public class CountLogisticsLineResp extends BaseResp {  
13 -  
14 - private Integer lineCount;  
15 -  
16 - public Integer getLineCount() {  
17 - return lineCount;  
18 - }  
19 -  
20 - public void setLineCount(Integer lineCount) {  
21 - this.lineCount = lineCount;  
22 - }  
23 -  
24 -  
25 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/CountLogisticsLineVehicleReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 路线管理-获取线路车辆总数 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class CountLogisticsLineVehicleReq extends BaseReq {  
13 -  
14 - /**  
15 - * 店铺id  
16 - */  
17 - private Long shopId;  
18 -  
19 - public Long getShopId() {  
20 - return shopId;  
21 - }  
22 -  
23 - public void setShopId(Long shopId) {  
24 - this.shopId = shopId;  
25 - }  
26 -  
27 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/CountLogisticsLineVehicleResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -  
5 -/**  
6 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
7 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
8 - * <B>Company</B> 地利集团  
9 - * @createTime 2015年6月9日 下午1:53:00  
10 - * @author wujiaqiang  
11 - */  
12 -public class CountLogisticsLineVehicleResp extends BaseResp {  
13 -  
14 - private Integer lineCount;  
15 -  
16 - private Integer vehicleCount;  
17 -  
18 - public Integer getLineCount() {  
19 - return lineCount;  
20 - }  
21 -  
22 - public void setLineCount(Integer lineCount) {  
23 - this.lineCount = lineCount;  
24 - }  
25 -  
26 - public Integer getVehicleCount() {  
27 - return vehicleCount;  
28 - }  
29 -  
30 - public void setVehicleCount(Integer vehicleCount) {  
31 - this.vehicleCount = vehicleCount;  
32 - }  
33 -  
34 -  
35 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/CountLogisticsVehicleReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 车辆管理-获取车辆条数 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class CountLogisticsVehicleReq extends BaseReq {  
13 -  
14 - /**  
15 - * 店铺id  
16 - */  
17 - private Long shopId;  
18 -  
19 - public Long getShopId() {  
20 - return shopId;  
21 - }  
22 -  
23 - public void setShopId(Long shopId) {  
24 - this.shopId = shopId;  
25 - }  
26 -  
27 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/CountLogisticsVehicleResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -  
5 -/**  
6 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
7 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
8 - * <B>Company</B> 地利集团  
9 - * @createTime 2015年6月9日 下午1:53:00  
10 - * @author wujiaqiang  
11 - */  
12 -public class CountLogisticsVehicleResp extends BaseResp {  
13 -  
14 - private Integer vehicleCount;  
15 -  
16 - public Integer getVehicleCount() {  
17 - return vehicleCount;  
18 - }  
19 -  
20 - public void setVehicleCount(Integer vehicleCount) {  
21 - this.vehicleCount = vehicleCount;  
22 - }  
23 -  
24 -  
25 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/CreateShopReq.java
1 package com.diligrp.mobsite.getway.domain.protocol.shop; 1 package com.diligrp.mobsite.getway.domain.protocol.shop;
2 2
3 import com.diligrp.mobsite.getway.domain.protocol.BaseReq; 3 import com.diligrp.mobsite.getway.domain.protocol.BaseReq;
4 -import com.diligrp.mobsite.getway.domain.protocol.Category;  
5 import io.swagger.annotations.ApiModelProperty; 4 import io.swagger.annotations.ApiModelProperty;
6 5
7 import java.util.List; 6 import java.util.List;
@@ -30,7 +29,7 @@ public class CreateShopReq extends BaseReq { @@ -30,7 +29,7 @@ public class CreateShopReq extends BaseReq {
30 private String shopLogo; 29 private String shopLogo;
31 30
32 @ApiModelProperty(value = "主营类目") 31 @ApiModelProperty(value = "主营类目")
33 - private List<Category> categories; 32 + private List<Long> categorieIds;
34 33
35 34
36 35
@@ -56,6 +55,9 @@ public class CreateShopReq extends BaseReq { @@ -56,6 +55,9 @@ public class CreateShopReq extends BaseReq {
56 @ApiModelProperty(value = "送货时间段") 55 @ApiModelProperty(value = "送货时间段")
57 private List<String> deliveryTime; 56 private List<String> deliveryTime;
58 57
  58 + @ApiModelProperty(value = "上货市场")
  59 + private Long marketId;
  60 +
59 61
60 62
61 public Long getCityCode() { 63 public Long getCityCode() {
@@ -90,13 +92,12 @@ public class CreateShopReq extends BaseReq { @@ -90,13 +92,12 @@ public class CreateShopReq extends BaseReq {
90 this.shopLogo = shopLogo; 92 this.shopLogo = shopLogo;
91 } 93 }
92 94
93 -  
94 - public List<Category> getCategories() {  
95 - return categories; 95 + public List<Long> getCategorieIds() {
  96 + return categorieIds;
96 } 97 }
97 98
98 - public void setCategories(List<Category> categories) {  
99 - this.categories = categories; 99 + public void setCategorieIds(List<Long> categorieIds) {
  100 + this.categorieIds = categorieIds;
100 } 101 }
101 102
102 public Integer getProductDisplayWay() { 103 public Integer getProductDisplayWay() {
@@ -154,4 +155,13 @@ public class CreateShopReq extends BaseReq { @@ -154,4 +155,13 @@ public class CreateShopReq extends BaseReq {
154 public void setPhone(String phone) { 155 public void setPhone(String phone) {
155 this.phone = phone; 156 this.phone = phone;
156 } 157 }
  158 +
  159 + @Override
  160 + public Long getMarketId() {
  161 + return marketId;
  162 + }
  163 +
  164 + public void setMarketId(Long marketId) {
  165 + this.marketId = marketId;
  166 + }
157 } 167 }
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/CreateShopResp.java
@@ -17,13 +17,13 @@ public class CreateShopResp extends BaseResp { @@ -17,13 +17,13 @@ public class CreateShopResp extends BaseResp {
17 * 店铺code 17 * 店铺code
18 */ 18 */
19 @ApiModelProperty(value = "店铺分享码" ) 19 @ApiModelProperty(value = "店铺分享码" )
20 - private Integer shopAuthCode; 20 + private Long shopAuthCode;
21 21
22 - public Integer getShopAuthCode() { 22 + public Long getShopAuthCode() {
23 return shopAuthCode; 23 return shopAuthCode;
24 } 24 }
25 25
26 - public void setShopAuthCode(Integer shopAuthCode) { 26 + public void setShopAuthCode(Long shopAuthCode) {
27 this.shopAuthCode = shopAuthCode; 27 this.shopAuthCode = shopAuthCode;
28 } 28 }
29 } 29 }
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/DeleteLogisticsLineReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import java.util.List;  
4 -  
5 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
6 -  
7 -/**  
8 - * <B>Description</B> 路线管理-删除路线 <br />  
9 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
10 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
11 - * <B>Company</B> 地利集团  
12 - * @author wujiaqiang  
13 - */  
14 -public class DeleteLogisticsLineReq extends BaseReq {  
15 -  
16 - /**  
17 - * 路线id  
18 - */  
19 - private List<Long> ids;  
20 -  
21 - public List<Long> getIds() {  
22 - return ids;  
23 - }  
24 -  
25 - public void setIds(List<Long> ids) {  
26 - this.ids = ids;  
27 - }  
28 -  
29 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/DeleteLogisticsLineResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -  
5 -/**  
6 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
7 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
8 - * <B>Company</B> 地利集团  
9 - * @createTime 2015年6月9日 下午1:53:00  
10 - * @author wujiaqiang  
11 - */  
12 -public class DeleteLogisticsLineResp extends BaseResp {  
13 -  
14 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/DeleteLogisticsVehicleReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import java.util.List;  
4 -  
5 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
6 -  
7 -/**  
8 - * <B>Description</B> 车辆管理-删除车辆 <br />  
9 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
10 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
11 - * <B>Company</B> 地利集团  
12 - * @author wujiaqiang  
13 - */  
14 -public class DeleteLogisticsVehicleReq extends BaseReq {  
15 -  
16 - /**  
17 - * 车辆id  
18 - */  
19 - private List<Long> ids;  
20 -  
21 - public List<Long> getIds() {  
22 - return ids;  
23 - }  
24 -  
25 - public void setIds(List<Long> ids) {  
26 - this.ids = ids;  
27 - }  
28 -  
29 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/DeleteLogisticsVehicleResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -  
5 -/**  
6 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
7 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
8 - * <B>Company</B> 地利集团  
9 - * @createTime 2015年6月9日 下午1:53:00  
10 - * @author wujiaqiang  
11 - */  
12 -public class DeleteLogisticsVehicleResp extends BaseResp {  
13 -  
14 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/FindLogisticsVehicleByModelIdReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 车辆管理-获取店铺车型列表 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class FindLogisticsVehicleByModelIdReq extends BaseReq {  
13 -  
14 - /**  
15 - * 店铺id  
16 - */  
17 - private Long shopId;  
18 -  
19 - /**  
20 - * 车型ID  
21 - */  
22 - private Long modelId;  
23 -  
24 - public Long getShopId() {  
25 - return shopId;  
26 - }  
27 -  
28 - public void setShopId(Long shopId) {  
29 - this.shopId = shopId;  
30 - }  
31 -  
32 - public Long getModelId() {  
33 - return modelId;  
34 - }  
35 -  
36 - public void setModelId(Long modelId) {  
37 - this.modelId = modelId;  
38 - }  
39 -  
40 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/FindLogisticsVehicleByModelIdResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import java.util.List;  
4 -  
5 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
6 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.VehicleInfo;  
7 -  
8 -/**  
9 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
10 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
11 - * <B>Company</B> 地利集团  
12 - * @createTime 2015年6月9日 下午1:53:00  
13 - * @author wujiaqiang  
14 - */  
15 -public class FindLogisticsVehicleByModelIdResp extends BaseResp {  
16 -  
17 - /**  
18 - * 车型下车辆列表  
19 - */  
20 - List<VehicleInfo> list;  
21 -  
22 - public List<VehicleInfo> getList() {  
23 - return list;  
24 - }  
25 -  
26 - public void setList(List<VehicleInfo> list) {  
27 - this.list = list;  
28 - }  
29 -  
30 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/GetLogisticsLineReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 路线管理-获取线路信息 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class GetLogisticsLineReq extends BaseReq {  
13 -  
14 - /**  
15 - * 路线id  
16 - */  
17 - private Long id;  
18 -  
19 - public Long getId() {  
20 - return id;  
21 - }  
22 -  
23 - public void setId(Long id) {  
24 - this.id = id;  
25 - }  
26 -  
27 -  
28 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/GetLogisticsLineResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.LineInfo;  
5 -  
6 -/**  
7 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @createTime 2015年6月9日 下午1:53:00  
11 - * @author wujiaqiang  
12 - */  
13 -public class GetLogisticsLineResp extends BaseResp {  
14 -  
15 - private LineInfo line;  
16 -  
17 - public LineInfo getLine() {  
18 - return line;  
19 - }  
20 -  
21 - public void setLine(LineInfo line) {  
22 - this.line = line;  
23 - }  
24 -  
25 -  
26 -  
27 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/GetLogisticsVehicleReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 车辆管理-获取车辆信息 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class GetLogisticsVehicleReq extends BaseReq {  
13 -  
14 - /**  
15 - * 车辆id  
16 - */  
17 - private Long id;  
18 -  
19 - public Long getId() {  
20 - return id;  
21 - }  
22 -  
23 - public void setId(Long id) {  
24 - this.id = id;  
25 - }  
26 -  
27 -  
28 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/GetLogisticsVehicleResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.VehicleInfo;  
5 -  
6 -/**  
7 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @createTime 2015年6月9日 下午1:53:00  
11 - * @author wujiaqiang  
12 - */  
13 -public class GetLogisticsVehicleResp extends BaseResp {  
14 -  
15 - private VehicleInfo vehicle;  
16 -  
17 - public VehicleInfo getVehicle() {  
18 - return vehicle;  
19 - }  
20 -  
21 - public void setVehicle(VehicleInfo vehicle) {  
22 - this.vehicle = vehicle;  
23 - }  
24 -  
25 -  
26 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/GetShopInfoResp.java
1 package com.diligrp.mobsite.getway.domain.protocol.shop; 1 package com.diligrp.mobsite.getway.domain.protocol.shop;
2 2
3 import com.diligrp.mobsite.getway.domain.protocol.BaseResp; 3 import com.diligrp.mobsite.getway.domain.protocol.BaseResp;
4 -import com.diligrp.mobsite.getway.domain.protocol.Category;  
5 import io.swagger.annotations.ApiModelProperty; 4 import io.swagger.annotations.ApiModelProperty;
6 5
7 import java.util.List; 6 import java.util.List;
@@ -26,7 +25,7 @@ public class GetShopInfoResp extends BaseResp { @@ -26,7 +25,7 @@ public class GetShopInfoResp extends BaseResp {
26 private String shopLogo; 25 private String shopLogo;
27 26
28 @ApiModelProperty(value = "主营类目") 27 @ApiModelProperty(value = "主营类目")
29 - private List<Category> categories; 28 + private List<Long> categories;
30 29
31 30
32 31
@@ -49,10 +48,6 @@ public class GetShopInfoResp extends BaseResp { @@ -49,10 +48,6 @@ public class GetShopInfoResp extends BaseResp {
49 @ApiModelProperty(value = "店铺公告") 48 @ApiModelProperty(value = "店铺公告")
50 private String shopNotices; 49 private String shopNotices;
51 50
52 - @ApiModelProperty(value = "送货时间段")  
53 - private List<String> deliveryTime;  
54 -  
55 -  
56 public Long getShopId() { 51 public Long getShopId() {
57 return shopId; 52 return shopId;
58 } 53 }
@@ -94,11 +89,11 @@ public class GetShopInfoResp extends BaseResp { @@ -94,11 +89,11 @@ public class GetShopInfoResp extends BaseResp {
94 } 89 }
95 90
96 91
97 - public List<Category> getCategories() { 92 + public List<Long> getCategories() {
98 return categories; 93 return categories;
99 } 94 }
100 95
101 - public void setCategories(List<Category> categories) { 96 + public void setCategories(List<Long> categories) {
102 this.categories = categories; 97 this.categories = categories;
103 } 98 }
104 99
@@ -134,14 +129,6 @@ public class GetShopInfoResp extends BaseResp { @@ -134,14 +129,6 @@ public class GetShopInfoResp extends BaseResp {
134 this.shopNotices = shopNotices; 129 this.shopNotices = shopNotices;
135 } 130 }
136 131
137 - public List<String> getDeliveryTime() {  
138 - return deliveryTime;  
139 - }  
140 -  
141 - public void setDeliveryTime(List<String> deliveryTime) {  
142 - this.deliveryTime = deliveryTime;  
143 - }  
144 -  
145 public String getShopAddr() { 132 public String getShopAddr() {
146 return shopAddr; 133 return shopAddr;
147 } 134 }
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/GetShowStyleResp.java
@@ -6,4 +6,4 @@ import com.diligrp.mobsite.getway.domain.base.BaseListResp; @@ -6,4 +6,4 @@ import com.diligrp.mobsite.getway.domain.base.BaseListResp;
6 * Created by xxxzzz on 2016/12/27. 6 * Created by xxxzzz on 2016/12/27.
7 */ 7 */
8 public class GetShowStyleResp extends BaseListResp { 8 public class GetShowStyleResp extends BaseListResp {
9 -} 9 -}
  10 +}
10 \ No newline at end of file 11 \ No newline at end of file
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/ListByModelLogisticsVehicleReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 车辆管理-获取店铺车型列表 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class ListByModelLogisticsVehicleReq extends BaseReq {  
13 -  
14 - /**  
15 - * 店铺id  
16 - */  
17 - private Long shopId;  
18 -  
19 - public Long getShopId() {  
20 - return shopId;  
21 - }  
22 -  
23 - public void setShopId(Long shopId) {  
24 - this.shopId = shopId;  
25 - }  
26 -  
27 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/ListByModelLogisticsVehicleResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import java.util.List;  
4 -  
5 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
6 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.CarSumInfo;  
7 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.VehicleModelsInfo;  
8 -  
9 -/**  
10 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
11 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
12 - * <B>Company</B> 地利集团  
13 - * @createTime 2015年6月9日 下午1:53:00  
14 - * @author wujiaqiang  
15 - */  
16 -public class ListByModelLogisticsVehicleResp extends BaseResp {  
17 -  
18 - /**  
19 - * 店铺车型列表  
20 - */  
21 - List<CarSumInfo> list;  
22 -  
23 - public List<CarSumInfo> getList() {  
24 - return list;  
25 - }  
26 -  
27 - public void setList(List<CarSumInfo> list) {  
28 - this.list = list;  
29 - }  
30 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/ListLogisticsLineMoreReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 路线管理-获取更多线路信息 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class ListLogisticsLineMoreReq extends BaseReq {  
13 -  
14 - /**  
15 - * 店铺id  
16 - */  
17 - private Long shopId;  
18 -  
19 - public Long getShopId() {  
20 - return shopId;  
21 - }  
22 -  
23 - public void setShopId(Long shopId) {  
24 - this.shopId = shopId;  
25 - }  
26 -  
27 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/ListLogisticsLineMoreResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import java.util.List;  
4 -  
5 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
6 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.LineInfo;  
7 -  
8 -/**  
9 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
10 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
11 - * <B>Company</B> 地利集团  
12 - * @createTime 2015年6月9日 下午1:53:00  
13 - * @author wujiaqiang  
14 - */  
15 -public class ListLogisticsLineMoreResp extends BaseResp {  
16 -  
17 - /**  
18 - * 线路信息  
19 - */  
20 - private List<LineInfo> lines;  
21 -  
22 - /**  
23 - * 线路条数  
24 - */  
25 - private Integer lineCount;  
26 -  
27 - /**  
28 - * 线路包含的省份信息  
29 - */  
30 - private List<String> provinces;  
31 -  
32 - public List<LineInfo> getLines() {  
33 - return lines;  
34 - }  
35 -  
36 - public void setLines(List<LineInfo> lines) {  
37 - this.lines = lines;  
38 - }  
39 -  
40 - public Integer getLineCount() {  
41 - return lineCount;  
42 - }  
43 -  
44 - public void setLineCount(Integer lineCount) {  
45 - this.lineCount = lineCount;  
46 - }  
47 -  
48 - public List<String> getProvinces() {  
49 - return provinces;  
50 - }  
51 -  
52 - public void setProvinces(List<String> provinces) {  
53 - this.provinces = provinces;  
54 - }  
55 -  
56 -  
57 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/ListLogisticsLineReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 路线管理-获取线路列表 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class ListLogisticsLineReq extends BaseReq {  
13 -  
14 - /**  
15 - * 店铺id  
16 - */  
17 - private Long shopId;  
18 -  
19 - public Long getShopId() {  
20 - return shopId;  
21 - }  
22 -  
23 - public void setShopId(Long shopId) {  
24 - this.shopId = shopId;  
25 - }  
26 -  
27 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/ListLogisticsLineResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import java.util.List;  
4 -  
5 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
6 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.LineInfo;  
7 -  
8 -/**  
9 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
10 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
11 - * <B>Company</B> 地利集团  
12 - * @createTime 2015年6月9日 下午1:53:00  
13 - * @author wujiaqiang  
14 - */  
15 -public class ListLogisticsLineResp extends BaseResp {  
16 -  
17 - /**  
18 - * 线路列表  
19 - */  
20 - private List<LineInfo> lines;  
21 -  
22 - /**  
23 - * top线路  
24 - */  
25 - private List<LineInfo> topLines;  
26 -  
27 - public List<LineInfo> getLines() {  
28 - return lines;  
29 - }  
30 -  
31 - public void setLines(List<LineInfo> lines) {  
32 - this.lines = lines;  
33 - }  
34 -  
35 - public List<LineInfo> getTopLines() {  
36 - return topLines;  
37 - }  
38 -  
39 - public void setTopLines(List<LineInfo> topLines) {  
40 - this.topLines = topLines;  
41 - }  
42 -  
43 -  
44 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/ListLogisticsVehicleModelsReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 车辆管理-获取车型列表 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class ListLogisticsVehicleModelsReq extends BaseReq {  
13 -  
14 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/ListLogisticsVehicleModelsResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import java.util.List;  
4 -  
5 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
6 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.VehicleModelsInfo;  
7 -  
8 -/**  
9 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
10 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
11 - * <B>Company</B> 地利集团  
12 - * @createTime 2015年6月9日 下午1:53:00  
13 - * @author wujiaqiang  
14 - */  
15 -public class ListLogisticsVehicleModelsResp extends BaseResp {  
16 -  
17 - /**  
18 - * 车型列表  
19 - */  
20 - List<VehicleModelsInfo> models;  
21 -  
22 - public List<VehicleModelsInfo> getModels() {  
23 - return models;  
24 - }  
25 -  
26 - public void setModels(List<VehicleModelsInfo> models) {  
27 - this.models = models;  
28 - }  
29 -  
30 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/ListLogisticsVehicleReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 车辆管理-获取车辆列表 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class ListLogisticsVehicleReq extends BaseReq {  
13 -  
14 - /**  
15 - * 店铺id  
16 - */  
17 - private Long shopId;  
18 -  
19 - public Long getShopId() {  
20 - return shopId;  
21 - }  
22 -  
23 - public void setShopId(Long shopId) {  
24 - this.shopId = shopId;  
25 - }  
26 -  
27 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/ListLogisticsVehicleResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import java.util.List;  
4 -  
5 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
6 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.VehicleInfo;  
7 -  
8 -/**  
9 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
10 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
11 - * <B>Company</B> 地利集团  
12 - * @createTime 2015年6月9日 下午1:53:00  
13 - * @author wujiaqiang  
14 - */  
15 -public class ListLogisticsVehicleResp extends BaseResp {  
16 -  
17 - private List<VehicleInfo> vehicles;  
18 -  
19 - public List<VehicleInfo> getVehicles() {  
20 - return vehicles;  
21 - }  
22 -  
23 - public void setVehicles(List<VehicleInfo> vehicles) {  
24 - this.vehicles = vehicles;  
25 - }  
26 -  
27 -  
28 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/LogisticsShopMainPageResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.ContactUserInfo;  
5 -  
6 -/**  
7 - * <B>查询商品详情resp</B> <br />  
8 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
9 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
10 - * <B>Company</B> 地利集团  
11 - * @createTime 2015年6月9日 下午1:53:00  
12 - * @author duanyugen  
13 - */  
14 -public class LogisticsShopMainPageResp extends BaseResp {  
15 -  
16 - /**  
17 - * 物流店铺详情  
18 - */  
19 - private ShopLogisticsDetail shop;  
20 -  
21 - /**  
22 - * 联系人  
23 - */  
24 - private ContactUserInfo contact;  
25 -  
26 - /**  
27 - * 店铺描述  
28 - * */  
29 - private String desc;  
30 -  
31 - public ShopLogisticsDetail getShop() {  
32 - return shop;  
33 - }  
34 -  
35 - public void setShop(ShopLogisticsDetail shop) {  
36 - this.shop = shop;  
37 - }  
38 -  
39 - public ContactUserInfo getContact() {  
40 - return contact;  
41 - }  
42 -  
43 - public void setContact(ContactUserInfo contact) {  
44 - this.contact = contact;  
45 - }  
46 -  
47 - public String getDesc() {  
48 - return desc;  
49 - }  
50 -  
51 - public void setDesc(String desc) {  
52 - this.desc = desc;  
53 - }  
54 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/ShopLogisticsDetail.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.CarSumInfo;  
4 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.LineInfo;  
5 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.ShopNewIntroduction;  
6 -  
7 -import java.util.List;  
8 -  
9 -/**  
10 - * Created by david on 2015/7/27.  
11 - */  
12 -public class ShopLogisticsDetail extends ShopNewIntroduction {  
13 -  
14 - /**  
15 - * 车辆信息  
16 - * */  
17 - private List<CarSumInfo> carSumInfos;  
18 -  
19 - /**  
20 - * 运输路线列表  
21 - * */  
22 - private List<LineInfo> transferLines;  
23 - /**  
24 - * 服务类型  
25 - */  
26 - private List<Integer> buyOnOtherService;  
27 - /**  
28 - * 车辆数量  
29 - */  
30 - private Integer vehicleNum;  
31 - /**  
32 - * 综合评论  
33 - */  
34 - private String commentScore;  
35 - /**  
36 - * 物流代验货  
37 - */  
38 - private Integer logisticsSupportCheck;  
39 - /**  
40 - * 物流代集货  
41 - */  
42 - private Integer logisticsSupportCollection;  
43 - /**  
44 - * 物流店铺类型  
45 - */  
46 - private Long logisticsShopType;  
47 -  
48 - public List<CarSumInfo> getCarSumInfos() {  
49 - return carSumInfos;  
50 - }  
51 -  
52 - public void setCarSumInfos(List<CarSumInfo> carSumInfos) {  
53 - this.carSumInfos = carSumInfos;  
54 - }  
55 -  
56 - public List<LineInfo> getTransferLines() {  
57 - return transferLines;  
58 - }  
59 -  
60 - public void setTransferLines(List<LineInfo> transferLines) {  
61 - this.transferLines = transferLines;  
62 - }  
63 -  
64 - public List<Integer> getBuyOnOtherService() {  
65 - return buyOnOtherService;  
66 - }  
67 -  
68 - public void setBuyOnOtherService(List<Integer> buyOnOtherService) {  
69 - this.buyOnOtherService = buyOnOtherService;  
70 - }  
71 -  
72 - public Integer getVehicleNum() {  
73 - return vehicleNum;  
74 - }  
75 -  
76 - public void setVehicleNum(Integer vehicleNum) {  
77 - this.vehicleNum = vehicleNum;  
78 - }  
79 -  
80 - public String getCommentScore() {  
81 - return commentScore;  
82 - }  
83 -  
84 - public void setCommentScore(String commentScore) {  
85 - this.commentScore = commentScore;  
86 - }  
87 -  
88 - public Integer getLogisticsSupportCheck() {  
89 - return logisticsSupportCheck;  
90 - }  
91 -  
92 - public void setLogisticsSupportCheck(Integer logisticsSupportCheck) {  
93 - this.logisticsSupportCheck = logisticsSupportCheck;  
94 - }  
95 -  
96 - public Integer getLogisticsSupportCollection() {  
97 - return logisticsSupportCollection;  
98 - }  
99 -  
100 - public void setLogisticsSupportCollection(Integer logisticsSupportCollection) {  
101 - this.logisticsSupportCollection = logisticsSupportCollection;  
102 - }  
103 -  
104 - public Long getLogisticsShopType() {  
105 - return logisticsShopType;  
106 - }  
107 -  
108 - public void setLogisticsShopType(Long logisticsShopType) {  
109 - this.logisticsShopType = logisticsShopType;  
110 - }  
111 -  
112 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/TopLogisticsLineReq.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseReq;  
4 -  
5 -/**  
6 - * <B>Description</B> 路线管理-置顶线路 <br />  
7 - * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />  
8 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
9 - * <B>Company</B> 地利集团  
10 - * @author wujiaqiang  
11 - */  
12 -public class TopLogisticsLineReq extends BaseReq {  
13 -  
14 - /**  
15 - * 店铺id  
16 - */  
17 - private Long shopId;  
18 -  
19 - /**  
20 - * 路线ID  
21 - */  
22 - private Long id;  
23 -  
24 - public Long getShopId() {  
25 - return shopId;  
26 - }  
27 -  
28 - public void setShopId(Long shopId) {  
29 - this.shopId = shopId;  
30 - }  
31 -  
32 - public Long getId() {  
33 - return id;  
34 - }  
35 -  
36 - public void setId(Long id) {  
37 - this.id = id;  
38 - }  
39 -  
40 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/TopLogisticsLineResp.java deleted 100644 → 0
1 -package com.diligrp.mobsite.getway.domain.protocol.shop;  
2 -  
3 -import com.diligrp.mobsite.getway.domain.protocol.BaseResp;  
4 -  
5 -/**  
6 - * <B>Copyright</B> Copyright (c) 2015 www.diligrp.com All rights reserved. <br />  
7 - * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />  
8 - * <B>Company</B> 地利集团  
9 - * @createTime 2015年6月9日 下午1:53:00  
10 - * @author wujiaqiang  
11 - */  
12 -public class TopLogisticsLineResp extends BaseResp {  
13 -  
14 -}  
mobsite-getway-domain/src/main/java/com/diligrp/mobsite/getway/domain/protocol/shop/UpdateShopReq.java
1 package com.diligrp.mobsite.getway.domain.protocol.shop; 1 package com.diligrp.mobsite.getway.domain.protocol.shop;
2 2
3 import com.diligrp.mobsite.getway.domain.protocol.BaseReq; 3 import com.diligrp.mobsite.getway.domain.protocol.BaseReq;
4 -import com.diligrp.mobsite.getway.domain.protocol.Category;  
5 import io.swagger.annotations.ApiModelProperty; 4 import io.swagger.annotations.ApiModelProperty;
6 5
  6 +import javax.validation.constraints.NotNull;
7 import java.util.List; 7 import java.util.List;
8 8
9 /** 9 /**
@@ -17,7 +17,8 @@ public class UpdateShopReq extends BaseReq { @@ -17,7 +17,8 @@ public class UpdateShopReq extends BaseReq {
17 17
18 18
19 19
20 - @ApiModelProperty(value = "店铺Id") 20 + @ApiModelProperty(value = "店铺Id",required = true)
  21 + @NotNull(message="店铺ID不能为空")
21 private Long shopId; 22 private Long shopId;
22 23
23 @ApiModelProperty(value = "城市code") 24 @ApiModelProperty(value = "城市code")
@@ -33,7 +34,7 @@ public class UpdateShopReq extends BaseReq { @@ -33,7 +34,7 @@ public class UpdateShopReq extends BaseReq {
33 private String shopLogo; 34 private String shopLogo;
34 35
35 @ApiModelProperty(value = "主营类目") 36 @ApiModelProperty(value = "主营类目")
36 - private List<Category> categories; 37 + private List<Long> categorieIds;
37 38
38 39
39 40
@@ -59,6 +60,9 @@ public class UpdateShopReq extends BaseReq { @@ -59,6 +60,9 @@ public class UpdateShopReq extends BaseReq {
59 @ApiModelProperty(value = "送货时间段") 60 @ApiModelProperty(value = "送货时间段")
60 private List<String> deliveryTime; 61 private List<String> deliveryTime;
61 62
  63 + @ApiModelProperty(value = "上货市场")
  64 + private Long marketId;
  65 +
62 66
63 public Long getShopId() { 67 public Long getShopId() {
64 return shopId; 68 return shopId;
@@ -100,13 +104,12 @@ public class UpdateShopReq extends BaseReq { @@ -100,13 +104,12 @@ public class UpdateShopReq extends BaseReq {
100 this.shopLogo = shopLogo; 104 this.shopLogo = shopLogo;
101 } 105 }
102 106
103 -  
104 - public List<Category> getCategories() {  
105 - return categories; 107 + public List<Long> getCategorieIds() {
  108 + return categorieIds;
106 } 109 }
107 110
108 - public void setCategories(List<Category> categories) {  
109 - this.categories = categories; 111 + public void setCategorieIds(List<Long> categorieIds) {
  112 + this.categorieIds = categorieIds;
110 } 113 }
111 114
112 public Integer getProductDisplayWay() { 115 public Integer getProductDisplayWay() {
@@ -164,4 +167,13 @@ public class UpdateShopReq extends BaseReq { @@ -164,4 +167,13 @@ public class UpdateShopReq extends BaseReq {
164 public void setPhone(String phone) { 167 public void setPhone(String phone) {
165 this.phone = phone; 168 this.phone = phone;
166 } 169 }
  170 +
  171 + @Override
  172 + public Long getMarketId() {
  173 + return marketId;
  174 + }
  175 +
  176 + public void setMarketId(Long marketId) {
  177 + this.marketId = marketId;
  178 + }
167 } 179 }
mobsite-getway-rpc/src/main/java/com/diligrp/mobsite/getway/rpc/ShopRPC.java
@@ -4,12 +4,6 @@ import com.b2c.myapp.common.api.shop.input.ShopListInput; @@ -4,12 +4,6 @@ import com.b2c.myapp.common.api.shop.input.ShopListInput;
4 import com.b2c.myapp.common.api.shop.input.ShopSaveInput; 4 import com.b2c.myapp.common.api.shop.input.ShopSaveInput;
5 import com.b2c.myapp.common.api.shop.input.ShopUpdateInput; 5 import com.b2c.myapp.common.api.shop.input.ShopUpdateInput;
6 import com.b2c.myapp.common.api.shop.output.ShopOutput; 6 import com.b2c.myapp.common.api.shop.output.ShopOutput;
7 -import com.b2c.myapp.common.utils.BaseOutput;  
8 -import com.diligrp.mobsite.getway.domain.protocol.ProductCategory;  
9 -import com.diligrp.mobsite.getway.domain.protocol.ShopIntroduction;  
10 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.ShopInfo;  
11 -  
12 -import java.util.List;  
13 7
14 /** 8 /**
15 * <BDescription</B <br / 9 * <BDescription</B <br /
@@ -17,7 +11,7 @@ import java.util.List; @@ -17,7 +11,7 @@ import java.util.List;
17 * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br / 11 * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br /
18 * <BCompany</B 地利集团 12 * <BCompany</B 地利集团
19 * @createTime 2015年6月10日 下午1:40:21 13 * @createTime 2015年6月10日 下午1:40:21
20 - * @author zhangshirui 14 + * @author jcy
21 */ 15 */
22 public interface ShopRPC { 16 public interface ShopRPC {
23 17
@@ -25,11 +19,11 @@ public interface ShopRPC { @@ -25,11 +19,11 @@ public interface ShopRPC {
25 /** 19 /**
26 * @comment 创建店铺 20 * @comment 创建店铺
27 * @param shopSaveInput 店铺基本信息 21 * @param shopSaveInput 店铺基本信息
28 - * @return Integer 22 + * @return ShopOutput
29 * @author kelan 23 * @author kelan
30 * @time 2016/11/29 19:03 24 * @time 2016/11/29 19:03
31 */ 25 */
32 - public Integer createShopInfo(ShopSaveInput shopSaveInput); 26 + public ShopOutput createShopInfo(ShopSaveInput shopSaveInput);
33 /** 27 /**
34 * @comment 通过卖家id获取店铺信息 28 * @comment 通过卖家id获取店铺信息
35 * @param sellerId 卖家id 29 * @param sellerId 卖家id
mobsite-getway-rpc/src/main/java/com/diligrp/mobsite/getway/rpc/impl/ShopRPCImpl.java
@@ -8,16 +8,12 @@ import com.b2c.myapp.common.utils.BaseOutput; @@ -8,16 +8,12 @@ import com.b2c.myapp.common.utils.BaseOutput;
8 import com.b2c.myapp.sdk.MyAppClient; 8 import com.b2c.myapp.sdk.MyAppClient;
9 import com.diligrp.mobsite.getway.domain.common.ResultCode; 9 import com.diligrp.mobsite.getway.domain.common.ResultCode;
10 import com.diligrp.mobsite.getway.domain.except.ServiceException; 10 import com.diligrp.mobsite.getway.domain.except.ServiceException;
11 -import com.diligrp.mobsite.getway.domain.protocol.ProductCategory;  
12 -import com.diligrp.mobsite.getway.domain.protocol.ShopIntroduction;  
13 -import com.diligrp.mobsite.getway.domain.protocol.shop.model.ShopInfo;  
14 import com.diligrp.mobsite.getway.rpc.ShopRPC; 11 import com.diligrp.mobsite.getway.rpc.ShopRPC;
15 import org.slf4j.Logger; 12 import org.slf4j.Logger;
16 import org.slf4j.LoggerFactory; 13 import org.slf4j.LoggerFactory;
17 import org.springframework.stereotype.Service; 14 import org.springframework.stereotype.Service;
18 15
19 import javax.annotation.Resource; 16 import javax.annotation.Resource;
20 -import java.util.List;  
21 17
22 /** 18 /**
23 * <B>Description</B> <br /> 19 * <B>Description</B> <br />
@@ -36,14 +32,14 @@ public class ShopRPCImpl implements ShopRPC { @@ -36,14 +32,14 @@ public class ShopRPCImpl implements ShopRPC {
36 private MyAppClient myAppClient; 32 private MyAppClient myAppClient;
37 /** 33 /**
38 * @param shopSaveInput 店铺基本信息 34 * @param shopSaveInput 店铺基本信息
39 - * @return Integer 35 + * @return ShopOutput
40 * @comment 创建店铺 36 * @comment 创建店铺
41 * @author jiangchengyong 37 * @author jiangchengyong
42 * @time 2016/11/29 19:03 38 * @time 2016/11/29 19:03
43 */ 39 */
44 @Override 40 @Override
45 - public Integer createShopInfo(ShopSaveInput shopSaveInput) {  
46 - BaseOutput<Integer> output = null; 41 + public ShopOutput createShopInfo(ShopSaveInput shopSaveInput) {
  42 + BaseOutput<ShopOutput> output = null;
47 try{ 43 try{
48 output = myAppClient.getShopInfoService().createShopInfo(shopSaveInput); 44 output = myAppClient.getShopInfoService().createShopInfo(shopSaveInput);
49 if(output.getCode().equals(200)){ 45 if(output.getCode().equals(200)){
mobsite-getway-service/src/main/java/com/diligrp/mobsite/getway/service/seller/SellerShopService.java
@@ -27,5 +27,5 @@ public interface SellerShopService { @@ -27,5 +27,5 @@ public interface SellerShopService {
27 27
28 DelShopDeliveryTimeResp delShopDeliveryTime(DelShopDeliveryTimeReq req); 28 DelShopDeliveryTimeResp delShopDeliveryTime(DelShopDeliveryTimeReq req);
29 29
30 - CreateShopResp updateShop(UpdateShopReq req); 30 + UpdateShopResp updateShop(UpdateShopReq req) throws Exception;
31 } 31 }
mobsite-getway-service/src/main/java/com/diligrp/mobsite/getway/service/seller/impl/SellerShopServiceImpl.java
1 package com.diligrp.mobsite.getway.service.seller.impl; 1 package com.diligrp.mobsite.getway.service.seller.impl;
2 2
  3 +import com.b2c.myapp.common.api.shop.input.ShopSaveInput;
  4 +import com.b2c.myapp.common.api.shop.input.ShopUpdateInput;
  5 +import com.b2c.myapp.common.api.shop.output.ShopOutput;
  6 +import com.diligrp.mobsite.getway.domain.except.ServiceException;
3 import com.diligrp.mobsite.getway.domain.protocol.BaseReq; 7 import com.diligrp.mobsite.getway.domain.protocol.BaseReq;
4 import com.diligrp.mobsite.getway.domain.protocol.GetShopDeliveryTimeReq; 8 import com.diligrp.mobsite.getway.domain.protocol.GetShopDeliveryTimeReq;
5 import com.diligrp.mobsite.getway.domain.protocol.GetShopDeliveryTimeResp; 9 import com.diligrp.mobsite.getway.domain.protocol.GetShopDeliveryTimeResp;
6 import com.diligrp.mobsite.getway.domain.protocol.shop.*; 10 import com.diligrp.mobsite.getway.domain.protocol.shop.*;
  11 +import com.diligrp.mobsite.getway.rpc.ShopRPC;
7 import com.diligrp.mobsite.getway.service.seller.SellerShopService; 12 import com.diligrp.mobsite.getway.service.seller.SellerShopService;
  13 +import org.apache.commons.lang.StringUtils;
  14 +import org.springframework.beans.factory.annotation.Autowired;
8 import org.springframework.stereotype.Service; 15 import org.springframework.stereotype.Service;
9 16
  17 +import java.util.ArrayList;
  18 +import java.util.List;
  19 +
10 20
11 /** 21 /**
12 * <B>Description</B> 卖家用户信息 <br /> 22 * <B>Description</B> 卖家用户信息 <br />
@@ -18,15 +28,50 @@ import org.springframework.stereotype.Service; @@ -18,15 +28,50 @@ import org.springframework.stereotype.Service;
18 */ 28 */
19 @Service 29 @Service
20 public class SellerShopServiceImpl implements SellerShopService { 30 public class SellerShopServiceImpl implements SellerShopService {
  31 + @Autowired
  32 + private ShopRPC shopRPC;
21 33
22 @Override 34 @Override
23 public CreateShopResp createShop(CreateShopReq req) { 35 public CreateShopResp createShop(CreateShopReq req) {
24 - return null; 36 + ShopSaveInput shopSaveInput = new ShopSaveInput();
  37 + shopSaveInput.setAddressId(req.getCityCode());
  38 + shopSaveInput.setAddressDetail(req.getShopAddr());
  39 + shopSaveInput.setMarketId(req.getMarketId());
  40 + shopSaveInput.setSellerId(req.getToken().getUserId());
  41 + shopSaveInput.setServiceTel(req.getPhone());
  42 + shopSaveInput.setShopLogo(req.getShopLogo());
  43 + shopSaveInput.setShopName(req.getShopName());
  44 + shopSaveInput.setBusinessCategoryIds(StringUtils.join(req.getCategorieIds(),","));
  45 + ShopOutput shopOutput = shopRPC.createShopInfo(shopSaveInput);
  46 +
  47 + CreateShopResp createShopResp = new CreateShopResp();
  48 + createShopResp.setShopAuthCode(shopOutput.getPromoCode());
  49 + return createShopResp;
25 } 50 }
26 51
27 @Override 52 @Override
28 public GetShopInfoResp getShopInfo(BaseReq req) { 53 public GetShopInfoResp getShopInfo(BaseReq req) {
29 - return null; 54 + GetShopInfoResp getShopInfoResp = new GetShopInfoResp();
  55 + ShopOutput shopOutput = shopRPC.getShopBySellerId(req.getToken().getUserId());
  56 + getShopInfoResp.setShopName(shopOutput.getShopName());
  57 + getShopInfoResp.setShopLogo(shopOutput.getShopLogo());
  58 + String[] categoryIds = shopOutput.getBusinessCategoryIds().split(",");
  59 + List<Long> categoryList = new ArrayList<>();
  60 + for (String categoryId:categoryIds
  61 + ) {
  62 + categoryList.add(Long.valueOf(categoryId));
  63 + }
  64 + getShopInfoResp.setCategories(categoryList);
  65 + getShopInfoResp.setCityCode(shopOutput.getAddressId());
  66 + getShopInfoResp.setCityName(shopOutput.getAddressText());
  67 + getShopInfoResp.setFreeShippingPrice(shopOutput.getFreeShippingPrice());
  68 + getShopInfoResp.setPhone(shopOutput.getServiceTel());
  69 + getShopInfoResp.setPostage(shopOutput.getPostage());
  70 + getShopInfoResp.setProductDisplayWay(shopOutput.getProductDisplayWay());
  71 + getShopInfoResp.setShopAddr(shopOutput.getAddressDetail());
  72 + getShopInfoResp.setShopId(shopOutput.getId());
  73 + getShopInfoResp.setShopNotices(shopOutput.getShopNotices());
  74 + return getShopInfoResp;
30 } 75 }
31 76
32 @Override 77 @Override
@@ -50,7 +95,21 @@ public class SellerShopServiceImpl implements SellerShopService { @@ -50,7 +95,21 @@ public class SellerShopServiceImpl implements SellerShopService {
50 } 95 }
51 96
52 @Override 97 @Override
53 - public CreateShopResp updateShop(UpdateShopReq req) {  
54 - return null; 98 + public UpdateShopResp updateShop(UpdateShopReq req) {
  99 + UpdateShopResp updateShopResp = new UpdateShopResp();
  100 + ShopUpdateInput shopUpdateInput = new ShopUpdateInput();
  101 + shopUpdateInput.setAddressId(req.getCityCode());
  102 + shopUpdateInput.setAddressDetail(req.getShopAddr());
  103 + shopUpdateInput.setMarketId(req.getMarketId());
  104 + shopUpdateInput.setSellerId(req.getToken().getUserId());
  105 + shopUpdateInput.setServiceTel(req.getPhone());
  106 + shopUpdateInput.setShopLogo(req.getShopLogo());
  107 + shopUpdateInput.setShopName(req.getShopName());
  108 + shopUpdateInput.setBusinessCategoryIds(StringUtils.join(req.getCategorieIds(),","));
  109 + Boolean result = shopRPC.modifyShopBasicInfo(shopUpdateInput);
  110 + if(!result){
  111 + throw new ServiceException("修改店铺信息失败");
  112 + }
  113 + return updateShopResp;
55 } 114 }
56 } 115 }
mobsite-getway-web/src/main/java/com/diligrp/mobsite/getway/web/api/seller/shop/SellerShopController.java
@@ -6,6 +6,7 @@ import com.diligrp.mobsite.getway.domain.protocol.GetShopDeliveryTimeResp; @@ -6,6 +6,7 @@ import com.diligrp.mobsite.getway.domain.protocol.GetShopDeliveryTimeResp;
6 import com.diligrp.mobsite.getway.domain.protocol.shop.*; 6 import com.diligrp.mobsite.getway.domain.protocol.shop.*;
7 import com.diligrp.mobsite.getway.service.seller.SellerShopService; 7 import com.diligrp.mobsite.getway.service.seller.SellerShopService;
8 import com.diligrp.mobsite.getway.web.api.base.BaseApiController; 8 import com.diligrp.mobsite.getway.web.api.base.BaseApiController;
  9 +import com.diligrp.mobsite.getway.web.utils.BeanValidator;
9 import io.swagger.annotations.Api; 10 import io.swagger.annotations.Api;
10 import io.swagger.annotations.ApiOperation; 11 import io.swagger.annotations.ApiOperation;
11 import org.slf4j.Logger; 12 import org.slf4j.Logger;
@@ -24,7 +25,7 @@ import javax.annotation.Resource; @@ -24,7 +25,7 @@ import javax.annotation.Resource;
24 @Controller 25 @Controller
25 @RequestMapping("/mobsiteApp/seller/shop") 26 @RequestMapping("/mobsiteApp/seller/shop")
26 @Api(value = "/mobsiteApp-shop-seller", description = "店铺接口-卖家") 27 @Api(value = "/mobsiteApp-shop-seller", description = "店铺接口-卖家")
27 -public class SellerShopController extends BaseApiController{ 28 +public class SellerShopController extends BaseApiController {
28 29
29 private Logger log = LoggerFactory.getLogger(getClass()); 30 private Logger log = LoggerFactory.getLogger(getClass());
30 @Resource 31 @Resource
@@ -40,7 +41,7 @@ public class SellerShopController extends BaseApiController{ @@ -40,7 +41,7 @@ public class SellerShopController extends BaseApiController{
40 public void createShop(@RequestBody CreateShopReq temp) { 41 public void createShop(@RequestBody CreateShopReq temp) {
41 CreateShopReq req = getRequest(CreateShopReq.class); 42 CreateShopReq req = getRequest(CreateShopReq.class);
42 try { 43 try {
43 - //BeanValidator.validator(req); 44 + BeanValidator.validator(req);
44 CreateShopResp resp = sellerShopService.createShop(req); 45 CreateShopResp resp = sellerShopService.createShop(req);
45 sendSuccessResp(resp); 46 sendSuccessResp(resp);
46 } 47 }
@@ -60,8 +61,8 @@ public class SellerShopController extends BaseApiController{ @@ -60,8 +61,8 @@ public class SellerShopController extends BaseApiController{
60 public void updateShop(@RequestBody UpdateShopReq temp) { 61 public void updateShop(@RequestBody UpdateShopReq temp) {
61 UpdateShopReq req = getRequest(UpdateShopReq.class); 62 UpdateShopReq req = getRequest(UpdateShopReq.class);
62 try { 63 try {
63 - //BeanValidator.validator(req);  
64 - CreateShopResp resp = sellerShopService.updateShop(req); 64 + BeanValidator.validator(req);
  65 + UpdateShopResp resp = sellerShopService.updateShop(req);
65 sendSuccessResp(resp); 66 sendSuccessResp(resp);
66 } 67 }
67 catch(Exception e) { 68 catch(Exception e) {
@@ -81,7 +82,6 @@ public class SellerShopController extends BaseApiController{ @@ -81,7 +82,6 @@ public class SellerShopController extends BaseApiController{
81 public void getShopInfo() { 82 public void getShopInfo() {
82 BaseReq req = getRequest(BaseReq.class); 83 BaseReq req = getRequest(BaseReq.class);
83 try { 84 try {
84 - //BeanValidator.validator(req);  
85 GetShopInfoResp resp = sellerShopService.getShopInfo(req); 85 GetShopInfoResp resp = sellerShopService.getShopInfo(req);
86 sendSuccessResp(resp); 86 sendSuccessResp(resp);
87 }catch(Exception e) { 87 }catch(Exception e) {