|
@@ -5606,7 +5606,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
|
|
|
@Override
|
|
|
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class,isolation = Isolation.READ_COMMITTED)
|
|
|
- public Object buyDoubleEleven2021(BuyDoubleEleven2021Dto buyDoubleEleven2021Dto) throws Exception {
|
|
|
+ public HttpResponseResult buyDoubleEleven2021(BuyDoubleEleven2021Dto buyDoubleEleven2021Dto) throws Exception {
|
|
|
String activityIdList = buyDoubleEleven2021Dto.getActivityIdList();
|
|
|
List<VipGroupActivity> vipGroupActivities = vipGroupActivityDao.queryByIds(activityIdList);
|
|
|
Date now = new Date();
|
|
@@ -5707,7 +5707,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
notifyMap.put("channelType", channelType);
|
|
|
notifyMap.put("orderNo", "");
|
|
|
studentPaymentOrderService.updateOrder(notifyMap);
|
|
|
- return notifyMap;
|
|
|
+ return BaseController.failed(HttpStatus.CREATED, notifyMap,"恭喜您,购买成功!");
|
|
|
}
|
|
|
|
|
|
String orderSubject = "2021双十一活动";
|
|
@@ -5732,6 +5732,6 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
studentPaymentOrder.setPaymentChannel((String) payMap.get("type"));
|
|
|
studentPaymentOrder.setUpdateTime(nowDate);
|
|
|
studentPaymentOrderService.update(studentPaymentOrder);
|
|
|
- return payMap;
|
|
|
+ return BaseController.succeed(payMap);
|
|
|
}
|
|
|
}
|