| @@ -702,7 +702,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"未获取到计划"); | return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"未获取到计划"); | ||||
| } | } | ||||
| if(!EnumCpsPlanContentType.LIVE.getCode().equals(takeRate.getContentType()) | if(!EnumCpsPlanContentType.LIVE.getCode().equals(takeRate.getContentType()) | ||||
| && !EnumCpsPlanContentType.VIDEO.getCode().equals(record.getContentType())){ | |||||
| && !EnumCpsPlanContentType.VIDEO.getCode().equals(takeRate.getContentType())){ | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"带货场景不支持"); | return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"带货场景不支持"); | ||||
| } | } | ||||
| List<String> douyinIdList = JSONObject.parseArray(takeRate.getDouyinId(), String.class); | List<String> douyinIdList = JSONObject.parseArray(takeRate.getDouyinId(), String.class); | ||||
| @@ -746,7 +746,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"未获取到计划"); | return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"未获取到计划"); | ||||
| } | } | ||||
| if(!EnumCpsPlanContentType.LIVE.getCode().equals(takeRate.getContentType()) | if(!EnumCpsPlanContentType.LIVE.getCode().equals(takeRate.getContentType()) | ||||
| && !EnumCpsPlanContentType.VIDEO.getCode().equals(record.getContentType())){ | |||||
| && !EnumCpsPlanContentType.VIDEO.getCode().equals(takeRate.getContentType())){ | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"带货场景不支持"); | return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"带货场景不支持"); | ||||
| } | } | ||||
| Map<String, Integer> douyinMap = JSONObject.parseObject(takeRate.getDouyinIdStatus(), Map.class); | Map<String, Integer> douyinMap = JSONObject.parseObject(takeRate.getDouyinIdStatus(), Map.class); | ||||