zoujiajian 8 luni în urmă
părinte
comite
6546e63e8b

+ 5 - 5
netflix-common/src/main/java/com/cyksj/common/constant/Constant.java

@@ -654,11 +654,6 @@ public interface Constant {
 	 */
 	String ERROR_YOUTUBE_CHANGE_OTHER_SKU_KEY = "error_youtube_change_other_sku_key";
 
-	/**
-	 * 异常youtube车票退款配置key
-	 */
-	String YOUTUBE_REFUND_INFO_KEY = "youtube_refund_info_key";
-
 	/**
 	 * 银河币消费返回比例
 	 */
@@ -765,4 +760,9 @@ public interface Constant {
 	 * gpt车队id
 	 */
 	String GPT_CARD_ID = "P288";
+
+	/**
+	 * 油管售后时间限制key
+	 */
+	String YOUTUBE_AFTER_SALES_TIME_KEY = "youtube_after_sales_time_key";
 }

+ 2 - 1
netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationFrontServiceImpl.java

@@ -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("不可进行售后,请联系客服");
 		}