|
2 | 2 |
|
3 | 3 | import cn.binarywang.wx.miniapp.api.WxMaImmediateDeliveryService;
|
4 | 4 | import cn.binarywang.wx.miniapp.api.WxMaService;
|
5 |
| -import cn.binarywang.wx.miniapp.bean.delivery.AbnormalConfirmRequest; |
6 |
| -import cn.binarywang.wx.miniapp.bean.delivery.AbnormalConfirmResponse; |
7 |
| -import cn.binarywang.wx.miniapp.bean.delivery.AddOrderRequest; |
8 |
| -import cn.binarywang.wx.miniapp.bean.delivery.AddOrderResponse; |
9 |
| -import cn.binarywang.wx.miniapp.bean.delivery.BindAccountResponse; |
10 |
| -import cn.binarywang.wx.miniapp.bean.delivery.CancelOrderRequest; |
11 |
| -import cn.binarywang.wx.miniapp.bean.delivery.CancelOrderResponse; |
12 |
| -import cn.binarywang.wx.miniapp.bean.delivery.FollowWaybillRequest; |
13 |
| -import cn.binarywang.wx.miniapp.bean.delivery.FollowWaybillResponse; |
14 |
| -import cn.binarywang.wx.miniapp.bean.delivery.GetOrderRequest; |
15 |
| -import cn.binarywang.wx.miniapp.bean.delivery.GetOrderResponse; |
16 |
| -import cn.binarywang.wx.miniapp.bean.delivery.MockUpdateOrderRequest; |
17 |
| -import cn.binarywang.wx.miniapp.bean.delivery.MockUpdateOrderResponse; |
18 |
| -import cn.binarywang.wx.miniapp.bean.delivery.QueryFollowTraceRequest; |
19 |
| -import cn.binarywang.wx.miniapp.bean.delivery.QueryFollowTraceResponse; |
20 |
| -import cn.binarywang.wx.miniapp.bean.delivery.QueryWaybillTraceRequest; |
21 |
| -import cn.binarywang.wx.miniapp.bean.delivery.QueryWaybillTraceResponse; |
22 |
| -import cn.binarywang.wx.miniapp.bean.delivery.TraceWaybillRequest; |
23 |
| -import cn.binarywang.wx.miniapp.bean.delivery.TraceWaybillResponse; |
| 5 | +import cn.binarywang.wx.miniapp.bean.delivery.*; |
24 | 6 | import cn.binarywang.wx.miniapp.bean.delivery.base.WxMaDeliveryBaseResponse;
|
25 | 7 | import cn.binarywang.wx.miniapp.constant.WxMaApiUrlConstants;
|
26 | 8 | import cn.binarywang.wx.miniapp.constant.WxMaApiUrlConstants.InstantDelivery;
|
27 |
| -import cn.binarywang.wx.miniapp.constant.WxMaConstants; |
28 | 9 | import com.google.gson.JsonElement;
|
29 | 10 | import com.google.gson.JsonObject;
|
30 |
| -import javassist.bytecode.ConstPool; |
31 | 11 | import lombok.RequiredArgsConstructor;
|
32 | 12 | import me.chanjar.weixin.common.enums.WxType;
|
33 | 13 | import me.chanjar.weixin.common.error.WxError;
|
@@ -204,7 +184,7 @@ public FollowWaybillResponse followWaybill(
|
204 | 184 |
|
205 | 185 | @Override
|
206 | 186 | public QueryFollowTraceResponse queryFollowTrace(
|
207 |
| - QueryFollowTraceRequest request) throws WxErrorException { |
| 187 | + QueryFollowTraceRequest request) throws WxErrorException { |
208 | 188 | String responseContent = this.wxMaService.post(InstantDelivery.QUERY_FOLLOW_TRACE_URL, request);
|
209 | 189 | QueryFollowTraceResponse response = QueryFollowTraceResponse.fromJson(responseContent);
|
210 | 190 | if (response.getErrcode() == -1) {
|
|
0 commit comments