| 
					
				 | 
			
			
				@@ -775,10 +775,10 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             redPacketLogMapper.insertFsCourseRedPacketLog(redPacketLog); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 更新观看记录的奖励类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (param.getLinkType() == null || param.getLinkType() == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                log.setRewardType(config.getRewardType()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                courseWatchLogMapper.updateFsCourseWatchLog(log); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            if (param.getLinkType() == null || param.getLinkType() == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            log.setRewardType(config.getRewardType()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            courseWatchLogMapper.updateFsCourseWatchLog(log); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return sendRedPacket; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return R.error("奖励发送失败,请联系客服"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -810,6 +810,10 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         integralLogs.setCreateTime(new Date()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         fsUserIntegralLogsMapper.insertFsUserIntegralLogs(integralLogs); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //更新看课记录的奖励类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        log.setRewardType(config.getRewardType()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        courseWatchLogMapper.updateFsCourseWatchLog(log); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return R.ok("奖励发放成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |