From fa11cbae4e50f211ca388bf4baf83cae521b9ae6 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期四, 20 七月 2023 18:01:46 +0800 Subject: [PATCH] 更新用户端接口 --- UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/smallLogistics/server/IOrderLogisticsService.java | 36 ++++++++++++++++++++++++++---------- 1 files changed, 26 insertions(+), 10 deletions(-) diff --git a/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/smallLogistics/server/IOrderLogisticsService.java b/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/smallLogistics/server/IOrderLogisticsService.java index f5bd5e9..aea536b 100644 --- a/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/smallLogistics/server/IOrderLogisticsService.java +++ b/UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/smallLogistics/server/IOrderLogisticsService.java @@ -30,7 +30,7 @@ * @return * @throws Exception */ - ResultUtil queryLogisticsUnitPrice(Integer type, String startLonLat, String endAddress, Integer uid) throws Exception; + ResultUtil queryLogisticsUnitPrice(Integer type, String startLonLat, String endAddress, Integer uid, Integer language) throws Exception; /** @@ -41,7 +41,7 @@ * @return * @throws Exception */ - ResultUtil queryPayMoney(Integer number, Integer type, String startLonLat, String endAddress) throws Exception; + ResultUtil queryPayMoney(Integer number, Integer type, String startLonLat, String endAddress, Integer language) throws Exception; /** @@ -65,7 +65,7 @@ * @throws Exception */ ResultUtil smallLogistics(Integer type, Integer cargoType, Integer cargoNumber, String remark, String placementLon, String placementLat, String startLon, String startLat, String startAddress, - String recipient, String recipientPhone, String endAddress, Integer urgent, Double tipMoney, Date travelTime, Integer orderSource, Integer uid) throws Exception; + String recipient, String recipientPhone, String endAddress, Integer urgent, Double tipMoney, Date travelTime, Integer orderSource, Integer uid, Integer language) throws Exception; @@ -77,7 +77,7 @@ * @return * @throws Exception */ - ResultUtil payLogisticsOrder(Integer payType, Integer orderId, Integer type)throws Exception; + ResultUtil payLogisticsOrder(Integer payType, Integer bankCardId, Integer orderId, Integer type, Integer language)throws Exception; /** @@ -87,7 +87,7 @@ * @return * @throws Exception */ - ResultUtil payLogisticsOrder_(Integer payType, Integer orderId, Integer type)throws Exception; + ResultUtil payLogisticsOrder_(Integer payType, Integer bankCardId, Integer orderId, Integer type, Integer language)throws Exception; @@ -95,10 +95,9 @@ * 支付完成后的订单处理 * @param id 订单=id * @param order_id 工行支付单号 - * @param type 1=微信,2=支付宝 * @throws Exception */ - void payOrderLogisticsCallback(Integer id, String order_id, Integer type) throws Exception; + void payOrderLogisticsCallback(Integer id, String order_id, Integer language) throws Exception; @@ -106,10 +105,9 @@ * 差价支付完成后的回调处理 * @param id 订单=id * @param order_id 工行支付单号 - * @param type 1=微信,2=支付宝 * @throws Exception */ - void payOrderLogisticsSpreadCallback(Integer id, String order_id, Integer type) throws Exception; + void payOrderLogisticsSpreadCallback(Integer id, String order_id, Integer language) throws Exception; @@ -168,7 +166,7 @@ * @param uid * @throws Exception */ - ResultUtil addCancle(Integer id, String reason, String remark, Integer uid) throws Exception; + ResultUtil addCancle(Integer id, String reason, String remark, Integer uid, Integer language) throws Exception; /** @@ -195,4 +193,22 @@ * @throws Exception */ Map<String, Object> queryBalance(Integer orderId, Integer uid) throws Exception; + + + /** + * 获取订单详情 + * @param orderId + * @return + * @throws Exception + */ + Map<String, Object> queryOrderInfo(Integer orderId) throws Exception; + + + /** + * 获取优惠券列表 + * @param orderId + * @return + * @throws Exception + */ + List<Map<String, Object>> queryCoupon(Integer orderId, Integer uid, Integer pageNum, Integer size) throws Exception; } -- Gitblit v1.7.1