🎨 #3453 【小程序】修复同城配送查询运费接口返回参数

This commit is contained in:
GeXiangDong
2024-12-20 15:46:13 +08:00
committed by Binary Wang
parent 05c112309b
commit 29a76bcfae
4 changed files with 69 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ public interface WxMaIntracityService {
WxMaGetPayModeResponse getPayMode() throws WxErrorException;
/** 查询运费 */
WxMaAddOrderResponse preAddOrder(WxMaPreAddOrderRequest request) throws WxErrorException;
WxMaPreAddOrderResponse preAddOrder(WxMaPreAddOrderRequest request) throws WxErrorException;
/** 创建配送单 */
WxMaAddOrderResponse addOrder(WxMaAddOrderRequest order) throws WxErrorException;

View File

@@ -205,9 +205,10 @@ public class WxMaIntracityServiceImpl implements WxMaIntracityService {
}
@Override
public WxMaAddOrderResponse preAddOrder(WxMaPreAddOrderRequest request) throws WxErrorException {
public WxMaPreAddOrderResponse preAddOrder(WxMaPreAddOrderRequest request)
throws WxErrorException {
String response = this.wxMaService.postWithSignature(Intracity.PRE_ADD_ORDER, request);
return gson.fromJson(response, WxMaAddOrderResponse.class);
return gson.fromJson(response, WxMaPreAddOrderResponse.class);
}
@Override