Commit 5d447e953023cbf59d7cbe07917336e40873bc8e

Authored by jiangchengyong
1 parent 47848dee

update

myapp-sdk/src/main/java/com/b2c/myapp/sdk/service/DeliveryTimeService.java
... ... @@ -15,11 +15,11 @@ public interface DeliveryTimeService {
15 15 /**
16 16 * @comment 创建店铺送货时间段
17 17 * @param deliveryTimeSaveInput
18   - * @return BaseOutput<Integer>
  18 + * @return BaseOutput<DeliveryTimeOutput>
19 19 * @author kelan
20 20 * @time 2016/11/30 16:23
21 21 */
22   - public BaseOutput<Integer> createShopDeliveryTime(DeliveryTimeSaveInput deliveryTimeSaveInput);
  22 + public BaseOutput<DeliveryTimeOutput> createShopDeliveryTime(DeliveryTimeSaveInput deliveryTimeSaveInput);
23 23 /**
24 24 * @comment 删除店铺送货时间段
25 25 * @param deliveryTimeId 送货时间段id
... ...
myapp-sdk/src/main/java/com/b2c/myapp/sdk/service/PickingInfoService.java
... ... @@ -16,7 +16,7 @@ public interface PickingInfoService extends BaseService {
16 16 * @param pickingInfoSaveInput
17 17 * @return
18 18 */
19   - BaseOutput<Integer> addPickingInfo(PickingInfoSaveInput pickingInfoSaveInput);
  19 + BaseOutput<PickingInfoOutput> addPickingInfo(PickingInfoSaveInput pickingInfoSaveInput);
20 20  
21 21  
22 22 /**
... ...
myapp-sdk/src/main/java/com/b2c/myapp/sdk/service/impl/DeliveryTimeServiceImpl.java
... ... @@ -23,8 +23,8 @@ public class DeliveryTimeServiceImpl extends BaseServiceImpl implements Delivery
23 23 public DeliveryTimeServiceImpl(String token){super(token);}
24 24  
25 25 @Override
26   - public BaseOutput<Integer> createShopDeliveryTime(DeliveryTimeSaveInput deliveryTimeSaveInput) {
27   - return this.httpPost("/api/deliveryTime/createShopDeliveryTime", deliveryTimeSaveInput, new TypeReference<BaseOutput<Integer>>(){});
  26 + public BaseOutput<DeliveryTimeOutput> createShopDeliveryTime(DeliveryTimeSaveInput deliveryTimeSaveInput) {
  27 + return this.httpPost("/api/deliveryTime/createShopDeliveryTime", deliveryTimeSaveInput, new TypeReference<BaseOutput<DeliveryTimeOutput>>(){});
28 28 }
29 29  
30 30 @Override
... ...
myapp-sdk/src/main/java/com/b2c/myapp/sdk/service/impl/PickingInfoInfoServiceImpl.java
... ... @@ -34,8 +34,8 @@ public class PickingInfoInfoServiceImpl extends BaseServiceImpl implements Picki
34 34 * @return
35 35 */
36 36 @Override
37   - public BaseOutput<Integer> addPickingInfo(PickingInfoSaveInput pickingInfoSaveInput) {
38   - return super.httpPost("/api/pickingInfo/addPickingInfo", pickingInfoSaveInput, new TypeReference<BaseOutput<Integer>>() {});
  37 + public BaseOutput<PickingInfoOutput> addPickingInfo(PickingInfoSaveInput pickingInfoSaveInput) {
  38 + return super.httpPost("/api/pickingInfo/addPickingInfo", pickingInfoSaveInput, new TypeReference<BaseOutput<PickingInfoOutput>>() {});
39 39 }
40 40  
41 41 /**
... ...