mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
🎨 #3453 【小程序】修复同城配送查询运费接口返回参数
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user