zoujiajian 1 년 전
부모
커밋
828020307c
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      netflix-service/src/main/java/com/cyksj/server/recharge/impl/GptProxyRechargeServiceImpl.java

+ 4 - 4
netflix-service/src/main/java/com/cyksj/server/recharge/impl/GptProxyRechargeServiceImpl.java

@@ -196,10 +196,10 @@ public class GptProxyRechargeServiceImpl implements GptProxyRechargeService {
 		}
 		GroupsTrips groupsTrips = groupsMapper.selectById(relation.getGroupsId());
 		GoodsDonSku sku = skuMapper.selectById(groupsTrips.getSkuId());
-		//GPT 代充
-		if (sku.getGoodsId() != Constant.GPT_RECHARGE_GOODS_ID) {
-			throw BusinessRuntimeException.getInstance("车票类型错误");
-		}
+//		//GPT 代充
+//		if (sku.getGoodsId() != Constant.GPT_RECHARGE_GOODS_ID) {
+//			throw BusinessRuntimeException.getInstance("车票类型错误");
+//		}
 		Integer rechargeRemainNum = relation.getRechargeRemainNum();
 		if (rechargeRemainNum == null || rechargeRemainNum <= 0) {
 			throw BusinessRuntimeException.getInstance("剩余可代充次数为0");