mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
update订单逻辑改造工厂模式
This commit is contained in:
@@ -120,6 +120,9 @@ public class OrderService {
|
||||
@Resource
|
||||
private OrderPileOccupyService orderPileOccupyService;
|
||||
|
||||
@Resource
|
||||
private IPileMerchantInfoService pileMerchantInfoService;
|
||||
|
||||
@Resource
|
||||
private RedisCache redisCache;
|
||||
|
||||
@@ -1206,4 +1209,11 @@ public class OrderService {
|
||||
public Map<String, Object> payOccupyPileOrder(PayOrderDTO dto) {
|
||||
return orderPileOccupyService.payOccupyPileOrder(dto);
|
||||
}
|
||||
|
||||
public Map<String, Object> payOrderV2(PayOrderDTO dto) {
|
||||
String mode = pileMerchantInfoService.getDelayModeByWechatAppId(dto.getWechatAppId());
|
||||
// 获取处理逻辑
|
||||
// OrderLogicFactory.getOrderLogic();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user