|
|
@@ -2615,7 +2615,8 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
if (orderDon == null) {
|
|
|
throw BusinessRuntimeException.getInstance("订单不存在");
|
|
|
}
|
|
|
- DateTime availableHandleTime = DateUtil.parse("2025-12-20 00:00:00");
|
|
|
+ SysConfig sysConfig = sysConfigMapper.selectOne(Wrappers.lambdaQuery(SysConfig.class).eq(SysConfig::getSysKey, Constant.YOUTUBE_AFTER_SALES_TIME_KEY).last("limit 1"));
|
|
|
+ DateTime availableHandleTime = DateUtil.parse(sysConfig.getSysValue());
|
|
|
if (orderDon.getCreatedTime().after(availableHandleTime)) {
|
|
|
throw BusinessRuntimeException.getInstance("不可进行售后,请联系客服");
|
|
|
}
|